[WebDNA] Formatting text
This WebDNA talk-list message is from 2011
It keeps the original formatting.
numero = 107192
interpreted = N
texte = Hello,I have some text as such456678 (Text1) 33467 (Text1)=20I am unsure how to make this turn into=20456678 33467 (Text1)I've tried with Grep, but that just removes the Text1, and leaves the ()and I only need to remove the first instance of the Text1[Grep search=3D((Text1))&replace=3D]456678 (Text1) 33467 (Text1)[/Grep]This just gives456678 () 33467 ()Then I tried matching the (), but I couldnt figure out how to do that, Idon't use regex alot, and even less webdna grep.I figured if I could remove the Text1 and then the ()I could add my (Text1) when I was done processing it.Does anyone have any other ideas?The text could end up as 456678 (Text1) 33467 (Text1) 48789 (Text1) aswell, with arbitarily long occurances of text, but always with the sameformatnumber (text) number (text)/Tommy
Associated Messages, from the most recent to the oldest:
Hello,I have some text as such456678 (Text1) 33467 (Text1)=20I am unsure how to make this turn into=20456678 33467 (Text1)I've tried with Grep, but that just removes the Text1, and leaves the ()and I only need to remove the first instance of the Text1[Grep search=3D((Text1))&replace=3D]456678 (Text1) 33467 (Text1)[/Grep]This just gives456678 () 33467 ()Then I tried matching the (), but I couldnt figure out how to do that, Idon't use regex alot, and even less webdna grep.I figured if I could remove the Text1 and then the ()I could add my (Text1) when I was done processing it.Does anyone have any other ideas?The text could end up as 456678 (Text1) 33467 (Text1) 48789 (Text1) aswell, with arbitarily long occurances of text, but always with the sameformatnumber (text) number (text)/Tommy
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:
[WebDNA] Triggers Failing (2008)
Loss in Form (1998)
PCS Emailer's role ? (1997)
Multi-processor Mac info ... (1997)
weird happenings (1997)
[WriteFile] problems (1997)
Falsifying [BROWSERNAME] (1998)
WebMerchant & CC Response (2002)
Exclude by date - multiple (1997)
Help! WebCat2 bug (1997)
Bulk capture for Authorize.net (2004)
Allow/Deny with Webcat? (1998)
Banners and sort of random display (1997)
RE: Credit Card Checksum (1997)
URGENT - CPU usage OSXS (2001)
Banner Ads (2000)
errormessages.db (1997)
webcat (2000)
pass a captured value (2004)
WebDNA for Dummies (2007)