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:
Help! WebCat2 bug (1997)
FM and Webcat together? (1998)
Linux ODBC and the ODBC Bridge (2000)
Search/sort in URL Was: GuestBook example (1997)
international time (1997)
List of WebDNA users (2002)
WebCatalog and WebMerchant reviewed by InfoWorld (1997)
Searching multiple Databases (1997)
shipCost (1998)
WCf2 and nested tags (1997)
Projects & Contractors (1997)
Changing user submitted data (2000)
Help Please WebDNA 6 Secure Forms Problem (2004)
WebCat2b15MacPlugin - [protect] (1997)
(OT) SERVER FREEZES ALL AT SAME TIME (2004)
Re[2]: Problem with new formvariables (2000)
WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)
Calculating multiple shipping... (1997)
Problem when Inputing text (1999)
[WebDNA] Auction (2009)