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

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 101210
interpreted = N
texte = Grep the non numbers to a known character and then use middle to end at that character. On 21/10/2008, at 6:57 AM, Govinda wrote: > Hi all, > > quick [grep] Q: > > [grep search=([^0-9]*)([0-9]*)([^0-9]*)&replace=\2][myString][/grep] > is finding ALL the numeric chars in [myString] and essentially > concatenating them together. > I just want ONLY the FIRST continuous run of numeric chars. > > suggestions? > TIA > > -Govinda > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ 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)
Grep the non numbers to a known character and then use middle to end at that character. On 21/10/2008, at 6:57 AM, Govinda wrote: > Hi all, > > quick [grep] Q: > > [grep search=([^0-9]*)([0-9]*)([^0-9]*)&replace=\2][myString][/grep] > is finding ALL the numeric chars in [myString] and essentially > concatenating them together. > I just want ONLY the FIRST continuous run of numeric chars. > > suggestions? > TIA > > -Govinda > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ Stuart Tremain

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:

Error 11 (1996) macosx 1 process, linux N processes, macosx chokes under load (2001) Another new bug found ... (2000) writefile and texte (1997) Problems with command=replace in realm (2000) Re2: frames & carts (1997) [format] (1998) [WriteFile] problems (1997) Limiting user access to .tmpl files (1997) Add to Cart & List of Products (1997) OT- AS/400 and Macs (2003) Mystery File (2005) Firewalls - What's Good? (1999) auto enter dates (1998) HELLO (2000) Bug Report, maybe (1997) problems with 2 tags (1997) redirect from the errorsMessages.db entry (1997) Setting up WebCatalog with Retail Pro data (1996) E-Mail Preferences in Admin Folder (1997)