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:
OT : Best book for OSX (2002)
[format] problem (2001)
Problems with cybercash (2000)
weight based shipping cost questions (1997)
Replace Statement (1997)
RE: Formulas.db + Users.db (1997)
Searching multiple Databases (1997)
[WebDNA] WSDL Wizzard (2009)
OT: Unix Find Question (2004)
File Upload (1997)
Country & Ship-to address & other fields ? (1997)
WebCat2: multiple currency support (1997)
Variable Math (1998)
searching numbers (1998)
http or https (2005)
Problem: 3.0 doesn't update carts (1997)
Sku numbers (1997)
using showpage and showcart commands (1996)
[showif]/[hideif] question (1997)
WC Database Format (1997)