Re: [WebDNA] GREP question

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105133
interpreted = N
texte = --0016e6d77dac50234504841c8e43 Content-Type: text/plain; charset=UTF-8 Stuart, Try these: [grep search=([^a-zA-Z0-9])&replace=]string[/grep] and [grep search=([^a-zA-Z0-9_-])&replace=]string[/grep] - Tom On Tue, Apr 13, 2010 at 9:50 AM, Stuart Tremain wrote: > How can I GREP this: > > abcdefghijklmnopqrstuvwxyz~!@#$%^&*()_+`-={}|[]\:";'<>?,./ > 1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ > > ^^^ Note the CR above > > > To Return: > abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ > > > And a second return of: > abcdefghijklmnopqrstuvwxyz_-1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ > > > > --0016e6d77dac50234504841c8e43 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Stuart,

Try these:

=C2=A0=C2=A0= =C2=A0[grep search=3D([^a-zA-Z0-9])&replace=3D]string[/grep]
=
and

=C2=A0=C2=A0=C2=A0[grep search= =3D([^a-zA-Z0-9_-])&replace=3D]string[/grep]


- Tom




On Tue, Apr 13, 2010 at 9:50 AM, S= tuart Tremain <w= ebdna@idfk.com.au> wrote:
How can= I GREP this:

abcdefghijklmnopqrstuvwxyz~!@#$%^&*()_+`-=3D{}|[]\:";'<>?,./=C2=A0
1234567890ABCDEF= GHIJKLMNOPQRSTUVWXYZ

^^^ Note the CR above


To Return:
abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
<= br>

And a second return of:
abcdefghijklmnopqrstuvwx= yz_-1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ



<= /div>
--0016e6d77dac50234504841c8e43-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] GREP question (Stuart Tremain 2010)
  2. Re: [WebDNA] GREP question (Tom Duke 2010)
  3. [WebDNA] GREP question (Stuart Tremain 2010)
  4. Re: [WebDNA] grep question (Kenneth Grome 2009)
  5. Re: [WebDNA] grep question (Stuart Tremain 2009)
  6. Re: [WebDNA] grep question (Matthew Bohne 2009)
  7. Re: [WebDNA] grep question (Kenneth Grome 2009)
  8. Re: [WebDNA] grep question (Matthew Bohne 2009)
  9. Re: [WebDNA] grep question (Kenneth Grome 2009)
  10. Re: [WebDNA] grep question (Matthew Bohne 2009)
  11. Re: [WebDNA] grep question (William DeVaul 2009)
  12. Re: [WebDNA] grep question (Stuart Tremain 2009)
  13. [WebDNA] grep question (Kenneth Grome 2009)
  14. Re: [WebDNA] GREP Question (Steve Craig 2009)
  15. Re: [WebDNA] GREP Question (Tom Duke 2009)
  16. [WebDNA] GREP Question (Steve Craig 2009)
--0016e6d77dac50234504841c8e43 Content-Type: text/plain; charset=UTF-8 Stuart, Try these: [grep search=([^a-zA-Z0-9])&replace=]string[/grep] and [grep search=([^a-zA-Z0-9_-])&replace=]string[/grep] - Tom On Tue, Apr 13, 2010 at 9:50 AM, Stuart Tremain wrote: > How can I GREP this: > > abcdefghijklmnopqrstuvwxyz~!@#$%^&*()_+`-={}|[]\:";'<>?,./ > 1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ > > ^^^ Note the CR above > > > To Return: > abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ > > > And a second return of: > abcdefghijklmnopqrstuvwxyz_-1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ > > > > --0016e6d77dac50234504841c8e43 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Stuart,

Try these:

=C2=A0=C2=A0= =C2=A0[grep search=3D([^a-zA-Z0-9])&replace=3D]string[/grep]
=
and

=C2=A0=C2=A0=C2=A0[grep search= =3D([^a-zA-Z0-9_-])&replace=3D]string[/grep]


- Tom




On Tue, Apr 13, 2010 at 9:50 AM, S= tuart Tremain <w= ebdna@idfk.com.au> wrote:
How can= I GREP this:

abcdefghijklmnopqrstuvwxyz~!@#$%^&*()_+`-=3D{}|[]\:";'<>?,./=C2=A0
1234567890ABCDEF= GHIJKLMNOPQRSTUVWXYZ

^^^ Note the CR above


To Return:
abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
<= br>

And a second return of:
abcdefghijklmnopqrstuvwx= yz_-1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ



<= /div>
--0016e6d77dac50234504841c8e43-- Tom Duke

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

unable to launch acgi in WebCat (1997) Need help... (1997) [include file=filename.inc&strip=t] (2002) [WebDNA] Grep everything and replace with asterisks? (2010) Bug when including a db file ... ? (2000) Error Log.db --however (1997) WebCatalog for Postcards ? (1997) [WriteFile] problems (1997) shipping costs (1997) $Append for Users outside the ADMIN group (1997) SOP for WebDNA talk (2004) WebCatalog Upgrade Pricing? (1997) Smart caching problems with 2.1b3? (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) WebCommerce: Folder organization ? (1997) Taget _top (2000) WebCatalog for guestbook ? (1997) Possible Bug in 2.0b15.acgi (1997) Need relative path explanation (1997) WebMerchant (1997)