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:
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)