Regex help needed

2011-02-14 Thread Matthew Friedman
I am having an issue creating a regex to strip out the XML content that Word 2007 is adding our HTML editor. we are using TINYMEC and when one of our client upgraded recently it has created a large number of issues. what we need to do is to pull out the flowing content. it starts with

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.

Regex Help Needed

2005-12-07 Thread Jim McAtee
CF5. In the following I keep getting a bad backreference error. I thought the nested expressions in parens should give me \1 = entire matching string, then \2 = first submatch, \3 = 2nd submatch, etc. I'm taking a string containing concatenated three-character weekday abbreviations and

RE: Regex Help Needed

2005-12-07 Thread Ben Nadel
for Pedro -Original Message- From: Jim McAtee [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 1:46 PM To: CF-Talk Subject: Regex Help Needed CF5. In the following I keep getting a bad backreference error. I thought the nested expressions in parens should give me \1 = entire

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: [QUARRANTINE] Regex Help Needed

2005-12-07 Thread Ben Doom
Well, you don't really need the outside parens, so you could just ditch those. I could be remembering this wrong, but IIRC, CF5's engine remembered backreferences in the order they are completed, not started, but I could be wrong about that. It's been a little while since I had to play in

Re: [QUARRANTINE] Regex Help Needed

2005-12-07 Thread Jim McAtee
- Original Message - From: Ben Doom [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, December 07, 2005 1:05 PM Subject: Re: [QUARRANTINE] Regex Help Needed Well, you don't really need the outside parens, so you could just ditch those. I thought that might

Re: [QUARRANTINE] Regex Help Needed

2005-12-07 Thread Ben Doom
Jim McAtee wrote: Ah... I think I see what the problem is. If the match is SatSun then I'd need to use \13 \14. I'm not sure I know how to deal with that. No, that shouldn't be it. It should only backreference what's actually matched. What happens if you just output \1? What's caught

Re: Cfhttp (now regex help needed...)

2003-07-14 Thread Ryan Mitchell
Ok, cool i've got this aspect working, thanks dave... Now... I am doing a cfhttp on a php page and need to return the php sid, so basically I need to search through the string and find sid=. where the Represent a 32 char alphanumeric string... I've tried

RE: Cfhttp (now regex help needed...)

2003-07-14 Thread Kola Oyedeji
July 2003 15:50 To: CF-Talk Subject: Re: Cfhttp (now regex help needed...) Ok, cool i've got this aspect working, thanks dave... Now... I am doing a cfhttp on a php page and need to return the php sid, so basically I need to search through the string and find sid=. where

RE: Cfhttp (now regex help needed...)

2003-07-14 Thread Ben Doom
: Subject: Re: Cfhttp (now regex help needed...) : : : Ok, cool i've got this aspect working, thanks dave... : : Now... I am doing a cfhttp on a php page and need to return the : php sid, so : basically I need to search through the string and find : : sid=. where the Represent a 32 char

Re: Cfhttp (now regex help needed...)

2003-07-14 Thread Ryan Mitchell
Message- : From: Ryan Mitchell [mailto:[EMAIL PROTECTED] : Sent: Monday, July 14, 2003 10:50 AM : To: CF-Talk : Subject: Re: Cfhttp (now regex help needed...) : : : Ok, cool i've got this aspect working, thanks dave... : : Now... I am doing a cfhttp on a php page and need to return

regex help needed

2003-06-03 Thread Michael Tangorre
Can someone assist me in writing the following regex... I have a string, varies in length and I need to pull out of the string all the characters between: %--- and ---% An example of what this string might look like is: dllCall1%---session|errorTrap|DetailNumeric---%EndDLLCall I need to pull:

RE: regex help needed

2003-06-03 Thread Barney Boisvert
AudienceCentral (formerly PIER System, Inc.) [EMAIL PROTECTED] voice : 360.756.8080 x12 fax : 360.647.5351 www.audiencecentral.com -Original Message- From: Michael Tangorre [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 11:20 AM To: CF-Talk Subject: regex help needed Can

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
] Reply-To: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Subject: regex help needed Date: Mon, 2 Jun 2003 14:19:56 -0400 Can someone assist me in writing the following regex... I have a string, varies in length and I need to pull out of the string all the characters between