Re: [WebDNA] ONLY the FIRST continuous run of numeric chars?
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 101220
interpreted = N
texte = Everybody all at once now... Smack your forehead with the palm of your handOn Oct 20, 2008, at 7:26 PM, Charles Kline wrote:> why are you making it so hard? use list words and grab the first item>> --> Charles Kline> ckline@rightcode.net> http://www.rightcode.net>> On Oct 20, 2008, at 5:35 PM, Govinda
> wrote:>>> I appreciate your time/effort Bill and Stuart!>>>> I am still stuck on this though, and I think the issue is on the >> side of WebDNA...>>>> OK, real simple, from the top:>>>> this:>> [text show=F]myString=1155 Bluebridge, apt.#2[/text]>> [grep search=([^0-9]*)([0-9][0-9]*)([^0-9]*)&replace=\2][myString] >> [/grep]>>>> is returning this:>> 11552>>>> I only want "1155". Can I do that with [grep]?>>>> -G>>>> On Oct 20, 2008, at 2:36 PM, William DeVaul wrote:>>>>> You are matching zero numbers in the middle parens.>>>>>> search=([^0-9]*)([0-9][0-9]*)([^0-9]*)>>>>>> Should work with the WebDNA regex engine. In another engine, the>>> second * would be + (one or more).>>>>>> Bill>>>>> --------------------------------------------------------->> 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/> ---------------------------------------------------------> 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:
Everybody all at once now... Smack your forehead with the palm of your handOn Oct 20, 2008, at 7:26 PM, Charles Kline wrote:> why are you making it so hard? use list words and grab the first item>> --> Charles Kline> ckline@rightcode.net> http://www.rightcode.net>> On Oct 20, 2008, at 5:35 PM, Govinda > wrote:>>> I appreciate your time/effort Bill and Stuart!>>>> I am still stuck on this though, and I think the issue is on the >> side of WebDNA...>>>> OK, real simple, from the top:>>>> this:>> [text show=F]myString=1155 Bluebridge, apt.#2[/text]>> [grep search=([^0-9]*)([0-9][0-9]*)([^0-9]*)&replace=\2][myString] >> [/grep]>>>> is returning this:>> 11552>>>> I only want "1155". Can I do that with [grep]?>>>> -G>>>> On Oct 20, 2008, at 2:36 PM, William DeVaul wrote:>>>>> You are matching zero numbers in the middle parens.>>>>>> search=([^0-9]*)([0-9][0-9]*)([^0-9]*)>>>>>> Should work with the WebDNA regex engine. In another engine, the>>> second * would be + (one or more).>>>>>> Bill>>>>> --------------------------------------------------------->> 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/> ---------------------------------------------------------> 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/
Terry Wilson
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:
WebCat Contest Please Clarify (1998)
To Do list (2003)
Word Break (1999)
variables in [addlineitem] (1998)
syntax question, not in online refernce (1997)
WebCat2b12 forgets serial # (1997)
Support ?? (1997)
Help! WebCat2 bug (1997)
Truncated value after space - refresh my memory.... (1997)
RE: Webcatalog and CyberSTUD (1998)
WebCatalog2 Feature Feedback (1996)
RE: PIXO support (1997)
Extended [Concvertchars] needed (1997)
Is there a max number of fields? (1998)
NT Processor Woes (2000)
shortening the cart (1998)
Opinion: [input] should be called [output] ... (1997)
emailer (1997)
New WebDNA Solutions ... (1997)
[!] not working? (1999)