Try "\{\\b0 \{\\\*\\bkmkstart bookmark_name\}"to match the entire string
you're searching for -- this works in Perl.The best tool I've seen for help creating regular expressions is visual regexp. Its a Tk/Tcl script that lets you create and test regular expressions, and gives in-app help as well (View | Show Regexp Help). http://laurent.riesterer.free.fr/regexp/ Jamie -----Original Message----- From: Shawn Grover [mailto:[EMAIL PROTECTED] Sent: January 28, 2004 3:31 PM To: CLUG (E-mail) Subject: [clug-talk] OT: Regular Expression Help? I know we have some decent programmers on the list, perhaps someone might help me out some? I have routine that reads in an RTF file, and then needs to find bookmarks and insert a value for the bookmark. I'm doing this in Cold Fusion, but the problem is pretty generic. I'm usings CF's "replace" function, and it works, but takes way too long in some cases. So I thought that if I use regular expressions, I might speed things up. This is the string I'm searching for: "{\b0 {\*\bkmkstart bookmark_name}" The regex I have come up with for this thus far is : "\{\\\\*\\\\bkmkstart+bookmark_name\}" but this isn't matching. Any tips on what the regex should be for that string? Am I even close? Thanks in advance. Shawn (ps. I'm a regex newbie - can you tell?) _______________________________________________ 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

