Re: [WebDNA] ONLY the FIRST continuous run of numeric chars?

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 101232
interpreted = N
texte = --=====================_53542265==.ALT Content-Type: text/plain; charset="us-ascii" This is a pretty cool tool - http://gskinner.com/RegExr/ GJK At 12:58 PM 10/21/2008, you wrote: >The O'Reilly Pocket Guide for Regular Expressions is a handy reference in these situations. > >[^0-9]* - any character except a number followed by one or more of the same character >([0-9][0-9]*) - two or more numbers followed by one or more of the same character. >- The parenthesis mark it for the \1 in the replace statement. >.* - Any character (except line breaks) followed by one or more of the same character >| - OR >.* - Any character (except line breaks) followed by one or more of the same character. > >It then replaces it with whatever was found in the parenthetical set. >If no number strings were found by themselves, it returns blank. --=====================_53542265==.ALT Content-Type: text/html; charset="us-ascii" This is a pretty cool tool -

http://gskinner.com/RegExr/

GJK

At 12:58 PM 10/21/2008, you wrote:
The O'Reilly Pocket Guide for Regular Expressions is a handy reference in these situations.

[^0-9]* - any character except a number followed by one or more of the same character
([0-9][0-9]*) - two or more numbers followed by one or more of the same character.
- The parenthesis mark it for the \1 in the replace statement.
.* - Any character (except line breaks) followed by one or more of the same character
| - OR
.* - Any character (except line breaks) followed by one or more of the same character.

It then replaces it with whatever was found in the parenthetical set. 
If no number strings were found by themselves, it returns blank.
--=====================_53542265==.ALT-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? ("William DeVaul" 2008)
  2. RE: [WebDNA] ONLY the FIRST continuous run of numeric chars? ("Michael A. DeLorenzo" 2008)
  3. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Matthew Bohne 2008)
  4. RE: [WebDNA] ONLY the FIRST continuous run of numeric chars? ("Michael A. DeLorenzo" 2008)
  5. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Gary Krockover 2008)
  6. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Matthew Bohne 2008)
  7. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Govinda 2008)
  8. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? ("William DeVaul" 2008)
  9. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Govinda 2008)
  10. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? ("William DeVaul" 2008)
  11. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Govinda 2008)
  12. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Govinda 2008)
  13. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? ("Gary Krockover" 2008)
  14. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Govinda 2008)
  15. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Patrick McCormick 2008)
  16. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Terry Wilson 2008)
  17. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Charles Kline 2008)
  18. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? ("Gary Krockover" 2008)
  19. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? ("Gary Krockover" 2008)
  20. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Stuart Tremain 2008)
  21. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Govinda 2008)
  22. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Stuart Tremain 2008)
  23. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? ("William DeVaul" 2008)
  24. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Govinda 2008)
  25. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Stuart Tremain 2008)
  26. [WebDNA] ONLY the FIRST continuous run of numeric chars? (Govinda 2008)
--=====================_53542265==.ALT Content-Type: text/plain; charset="us-ascii" This is a pretty cool tool - http://gskinner.com/RegExr/ GJK At 12:58 PM 10/21/2008, you wrote: >The O'Reilly Pocket Guide for Regular Expressions is a handy reference in these situations. > >[^0-9]* - any character except a number followed by one or more of the same character >([0-9][0-9]*) - two or more numbers followed by one or more of the same character. >- The parenthesis mark it for the \1 in the replace statement. >.* - Any character (except line breaks) followed by one or more of the same character >| - OR >.* - Any character (except line breaks) followed by one or more of the same character. > >It then replaces it with whatever was found in the parenthetical set. >If no number strings were found by themselves, it returns blank. --=====================_53542265==.ALT Content-Type: text/html; charset="us-ascii" This is a pretty cool tool -

http://gskinner.com/RegExr/

GJK

At 12:58 PM 10/21/2008, you wrote:
The O'Reilly Pocket Guide for Regular Expressions is a handy reference in these situations.

[^0-9]* - any character except a number followed by one or more of the same character
([0-9][0-9]*) - two or more numbers followed by one or more of the same character.
- The parenthesis mark it for the \1 in the replace statement.
.* - Any character (except line breaks) followed by one or more of the same character
| - OR
.* - Any character (except line breaks) followed by one or more of the same character.

It then replaces it with whatever was found in the parenthetical set. 
If no number strings were found by themselves, it returns blank.
--=====================_53542265==.ALT-- Gary Krockover

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:

Quitting WebMerchant ? (1997) 4.5 Upgrade (2003) FW: WebDNA-Talk searchable? (1997) [OT] friday pics :-) (2005) unable to launch acgi in WebCat (1997) SiteEditPro (1996) Images generated by a web dna database (2003) [ShowNext] (2007) Trouble with carts (2000) WC2b12: Yes, Formulas.db is for real (1997) WebCat2b15MacPlugin - [protect] (1997) carriage returns in data (1997) Just Testing (1997) database problem (2003) The IBC root beer has arrived! (1997) Proposed FormVariables hierarchy (2000) Mixing and/or in searches (1998) ADMIN ACCESS (1999) ssl support WDNA 5.0 (2003) Error Log.db --however (1997)