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
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.
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
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
@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
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
- 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
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
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
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
: 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
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
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:
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
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
]
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
16 matches
Mail list logo