[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:
Problems with [Applescript] (1997)
E-Mailer (WebCatb15acgiMac) (1997)
Download URL & access on the fly ? (1997)
[WebDNA] Serial numbers and pricing for WebDNA 7.0 (2011)
Using Cookie for client specific info? (1997)
triggers on Linux? (2000)
RE: Can a database get stomped by simultaneous access? (1997)
quitting (1997)
Spawn Wishes (1998)
Big Databases (1997)
$Append for Users outside the ADMIN group (1997)
syntax question, not in online refernce (1997)
[SearchString] problem with [search] context (1997)
X etc.... (1999)
pc (1997)
Triggers (1999)
OT: Outsourcing & copyrights (2005)
apparent variable variable display? (2000)
Country & Ship-to address & other fields ? (1997)
webcat- multiple selection in input field (1997)