Re: [WebDNA] ONLY the FIRST continuous run of numeric chars?
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 101215
interpreted = N
texte = 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:11552I only want "1155". Can I do that with [grep]?-GOn 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>
Associated Messages, from the most recent to the oldest:
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:11552I only want "1155". Can I do that with
[grep]?-GOn 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>
Govinda
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:
Quit revisited (1997)
Undeliverable Mail (1997)
[GROUPS] followup (1997)
FM PRO Compatibility Issue - Single Database w/o Conversions (1997)
Searching multiple Databases (1997)
Correction: New WebDNA Example from Olin -- (1998)
PCS Frames (1997)
WC on Linux question (2001)
credit card - Revised (1997)
AuthenticateChecker (2000)
WCS Newbie question (1997)
Cyberstudio and WebDNA (1997)
unable to launch acgi in WebCat (1997)
Nested vs conditional (1997)
SSL data to/from webcatalog? (2000)
showif field is number (1997)
Re:WebCatalog/WebMerchant III (1998)
Help!!!! Purchases not going through! FIXED! (1997)
It's working (1997)
Locking up with WebCatalog... (1997)