Re: [WebDNA] Formatting text
This WebDNA talk-list message is from 2011
It keeps the original formatting.
numero = 107195
interpreted = N
texte = These work for me:[grep search=3D[URL](\(Text1\))[/URL]&replace=3D&ignorecase=3DT]456678 =(Text1) 33467 (Text1)[/grep](Text1)
or[grep =search=3D[URL](.*)(\(Text1\))(.*)(\(Text1\))[/URL]&replace=3D\1\3\4&ignore=case=3DT]456678 (Text1) 33467 (Text1)[/grep]
-GP.S. please start a NEW thread when you post. Some of us have our email =readers to clump together posts of the same topic.. and it does NOT use =the subject line to determine that.. but something internal in the email =that gets preserved when you hit 'reply'.On 2011-08-10, at 10:32 AM,
=wrote:> Hello,>=20> I have some text as such>=20> 456678 (Text1) 33467 (Text1)=20>=20> I am unsure how to make this turn into=20>=20> 456678 33467 (Text1)>=20> 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>=20> [Grep search=3D((Text1))&replace=3D]456678 (Text1) 33467 =(Text1)[/Grep]>=20> This just gives> 456678 () 33467 ()>=20> Then I tried matching the (), but I couldnt figure out how to do that, =I> don't use regex alot, and even less webdna grep.>=20> I figured if I could remove the Text1 and then the ()>=20> I could add my (Text1) when I was done processing it.>=20> Does anyone have any other ideas?>=20> The text could end up as 456678 (Text1) 33467 (Text1) 48789 (Text1) as> well, with arbitarily long occurances of text, but always with the =same> format>=20> number (text) number (text)>=20> /Tommy>=20>=20>=20>=20>=20>=20> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us
Associated Messages, from the most recent to the oldest:
These work for me:[grep search=3D[url](\(Text1\))[/URL]&replace=3D&ignorecase=3DT]456678 =(Text1) 33467 (Text1)[/grep](Text1)
or[grep =search=3D[url](.*)(\(Text1\))(.*)(\(Text1\))[/URL]&replace=3D\1\3\4&ignore=case=3DT]456678 (Text1) 33467 (Text1)[/grep]
-GP.S. please start a NEW thread when you post. Some of us have our email =readers to clump together posts of the same topic.. and it does NOT use =the subject line to determine that.. but something internal in the email =that gets preserved when you hit 'reply'.On 2011-08-10, at 10:32 AM, =wrote:> Hello,>=20> I have some text as such>=20> 456678 (Text1) 33467 (Text1)=20>=20> I am unsure how to make this turn into=20>=20> 456678 33467 (Text1)>=20> 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>=20> [Grep search=3D((Text1))&replace=3D]456678 (Text1) 33467 =(Text1)[/Grep]>=20> This just gives> 456678 () 33467 ()>=20> Then I tried matching the (), but I couldnt figure out how to do that, =I> don't use regex alot, and even less webdna grep.>=20> I figured if I could remove the Text1 and then the ()>=20> I could add my (Text1) when I was done processing it.>=20> Does anyone have any other ideas?>=20> The text could end up as 456678 (Text1) 33467 (Text1) 48789 (Text1) as> well, with arbitarily long occurances of text, but always with the =same> format>=20> number (text) number (text)>=20> /Tommy>=20>=20>=20>=20>=20>=20> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us
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:
Sku numbers (1997)
test (2003)
Resetting a Formvariable (2000)
MacAuthorize order data fields WAS:How To question... (1997)
OT: Processor Speed (2002)
WebDNA Life Cycle (was Form POSTing with LONG variable) (2007)
Re:E-Mailer (WebCatb15acgiMac) (1997)
WebCat2: multiple currency support (1997)
Limiting user access to .tmpl files (1997)
Auction made in webcat (2000)
RE: Problems reading files created by WC (1997)
PROBLEM (1997)
Spiders, robots, whatever you want to call them (1998)
Some Advise needed (1997)
WebCatalog 4.0.2rc1 and rc2 crash WebSTAR on quit (2001)
RE: Include (1998)
Date Sorting (1997)
setting line item numbers (1998)
Authenticate (1997)
Multiple catalog databases and showcart (1997)