Thanks all.

Jamie's regex did the trick.  You were close Jeff, but you missed a \{ (the
brace wasn't escaped).

If it helps, here's a sample of what I'm dealing with:

<snip>
\pard\plain \s3\ql
\li0\ri0\sb120\sa120\keepn\widctlpar\intbl\tx874\aspalpha\aspnum\faauto\outl
inelevel2\adjustright\rin0\lin0
\b\f1\fs20\cf1\lang1033\langfe1033\langnp1033\langfenp1033 {\fs22 Project
Title: {\*\bkmkstart short_description}
{\*\bkmkend short_description}\cell }\pard \s3\ql
\li0\ri0\sb120\sa120\keepn\widctlpar\intbl\tx694\aspalpha\aspnum\faauto\outl
inelevel2\adjustright\rin0\lin0 {\fs22 CIP #:\tab }{\b0 {\*\bkmkstart
cip_number}{\*\bkmkend cip_number}\cell }\pard\plain
</snip> 

I need to change the part towards the end of that string that reads
"{\*\bkmkstart cip_number}{\*\bkmkend cip_number}" to be "{\*\bkmkstart
cip_number}2004-001{\*\bkmkend cip_number}".  And the bookmark may appear
multiple times in the RTF.  Unfortunately, some of the RTF files are large
than a Meg in size.

But, I think I got it now.

Thanks again.

Shawn


-----Original Message-----
From: Jeffrey Clement [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 28, 2004 3:53 PM
To: CLUG General
Subject: Re: [clug-talk] OT: Regular Expression Help?


_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca

_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca

Reply via email to