Re: Regex help needed

2011-02-14 Thread Matthew Friedman
FYI I figure it out was simple once you looked at the content. since it is all in commented tags ReReplaceNoCase(str,!--(.*?)--, , ALL); Just incase anyone else has this issue. I am having an issue creating a regex to strip out the XML content that Word 2007 is adding our HTML editor.

RE: Regex Help Needed

2005-12-07 Thread Ben Nadel
You could just do something a bit more simple: strTarget = SatSun; strResult = (Left(strTarget, 3) , Right(strTarget, 3)); ... Ben Nadel Web Developer Nylon Technology 6 West 14th Street New York, NY 10011 212.691.1134 212.691.3477 fax www.nylontechnology.com Vote for

Re: Regex Help Needed

2005-12-07 Thread Jim McAtee
@houseoffusion.com Sent: Wednesday, December 07, 2005 11:56 AM Subject: RE: Regex Help Needed You could just do something a bit more simple: strTarget = SatSun; strResult = (Left(strTarget, 3) , Right(strTarget, 3)); ... Ben Nadel Web Developer Nylon Technology 6 West 14th

RE: regex help needed

2003-06-03 Thread Barney Boisvert
result = REreplace(string, $.*(%---.*---%).*^, \1); That should do it, although it'll cause problems if there is more than one %--- ---% block in thr string. If the string you're looking for never contains a greater than sign, then you can use this RE instead, which will then work

Re: regex help needed

2003-06-03 Thread Michael Tangorre
Thanks! I wasn't even close. :-) You saved me a great deal of time, much appreciated. Mike - Original Message - From: Barney Boisvert [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, June 02, 2003 2:29 PM Subject: RE: regex help needed result = REreplace(string

Re: regex help needed

2003-06-03 Thread Donnie Bachan
Untested code but something like this should work: cfset str = dllCall1%---session|errorTrap|DetailNumeric---%EndDLLCall cfset extracted = #mid(str,findnocase(%---,str) + 4,findnocase(---%,str) - (findnocase(%---,str) + 4))# Basically, find the index of the first occurence of the open