Re: [WebDNA] Formatting text
This WebDNA talk-list message is from 2011
It keeps the original formatting.
numero = 107196
interpreted = N
texte = Thanks Govinda,Ah sorry about that, I didnt know about the grouping by some internalinformation. Ill keep that in mind for the future./TommyOn Wed, 10 Aug 2011 11:32:05 -0400, Govinda
wrote:> These work for me:>=20> [grep search=3D[URL](\(Text1\))[/URL]&replace=3D&ignorecase=3DT]456678 =(Text1)> 33467 (Text1)[/grep](Text1)>
>=20> or>=20> [grep>search=3D[URL](.*)(\(Text1\))(.*)(\(Text1\))[/URL]&replace=3D\1\3\4&ignor=ecase=3DT]456678> (Text1) 33467 (Text1)[/grep]>
>=20> -G>=20> P.S. please start a NEW thread when you post. Some of us have our emai=l> readers to clump together posts of the same topic.. and it does NOT usethe> subject line to determine that.. but something internal in the emailthat> gets preserved when you hit 'reply'.>=20> On 2011-08-10, at 10:32 AM, > wrote:>=20>> 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 sam=e>> 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>=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:
Thanks Govinda,Ah sorry about that, I didnt know about the grouping by some internalinformation. Ill keep that in mind for the future./TommyOn Wed, 10 Aug 2011 11:32:05 -0400, Govinda wrote:> These work for me:>=20> [grep search=3D[url](\(Text1\))[/URL]&replace=3D&ignorecase=3DT]456678 =(Text1)> 33467 (Text1)[/grep](Text1)>
>=20> or>=20> [grep>search=3D[url](.*)(\(Text1\))(.*)(\(Text1\))[/URL]&replace=3D\1\3\4&ignor=ecase=3DT]456678> (Text1) 33467 (Text1)[/grep]>
>=20> -G>=20> P.S. please start a NEW thread when you post. Some of us have our emai=l> readers to clump together posts of the same topic.. and it does NOT usethe> subject line to determine that.. but something internal in the emailthat> gets preserved when you hit 'reply'.>=20> On 2011-08-10, at 10:32 AM, > wrote:>=20>> 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 sam=e>> 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>=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
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:
Verifying SSL on Page (2002)
about this server and links to who (1997)
Listserver problem (1997)
Separate SSL Server (1997)
back button problem (1999)
Protect vs Authenicate (1997)
SV: [sendmail] (2000)
IP Address (2001)
re: How can I record purchases to a database? (1998)
question: back button prevention (1997)
[GROUPS] followup (1997)
Using Plug-In while running 1.6.1 (1997)
Hideif / Showif (1998)
Trigger to restart Webcat Service (2001)
Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997)
[WebDNA] [store] and [recall]: default db location (2015)
[WebDNA] passing a variable in an include - precedence (2015)
Is this possible, WebCat2.0 and checkboxes (1997)
Crashing Server (2000)
Plaintext Email Attachment (2001)