I would post this to the RegEx list, but I'm short on time and the HoF web site
is giving me fits when I try to subscribe. :)
I just got a major problem dumped in my lap. We have about 1/2 a gig of pure
HTML files that are screwed up and the boss wants them fixed yesterday. I'm
writing a CF
Well, it seems to me that there should be a space after every comma,
anyway, so couldn't you just do a simple replace() to replace commas
with a comma and a space?
--Ben
Todd wrote:
I would post this to the RegEx list, but I'm short on time and the
HoF web site is giving me fits when I try
Subject: Re: SOT: RegEx help
Well, it seems to me that there should be a space after every comma,
anyway, so couldn't you just do a simple replace() to replace commas
with a comma and a space?
--Ben
~|
Special thanks to the CF
and everywhere else would cause any confusion.
- Original Message -
From: Ben Doom [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Monday, January 03, 2005 9:36 AM
Subject: Re: SOT: RegEx help
Well, it seems to me that there should be a space after every comma,
anyway
Any ninja's out there? ;)
Im having trouble with a regular expression i wonder if anyone could
help?
Im looking for this string (see bottom) and want to remove EVERYTHING
except the word a string here. This string could be any length or any
combo of chars\integers.
Also the JS arg (14) is
Oliver Cookson wrote:
Im looking for this string (see bottom) and want to remove EVERYTHING
except the word a string here. This string could be any length or any
combo of chars\integers.
Also the JS arg (14) is dynamic so that could be any number, everything
else is static.
A
Moonbow Software, Inc
: -Original Message-
: From: Jochem van Dieten [mailto:[EMAIL PROTECTED]
: Sent: Friday, March 14, 2003 6:23 AM
: To: CF-Talk
: Subject: Re: SOT: RegEx Help!
:
:
: Oliver Cookson wrote:
:
: Im looking for this string (see bottom) and want to remove EVERYTHING
: except
yep ben i had it figured out:)
lol
by the way, thanks for the great presentation on this last night
dave
- Original Message -
From: Ben Doom [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, March 14, 2003 12:21 PM
Subject: RE: SOT: RegEx Help!
If this is in a larger page
Ben Doom wrote:
If this is in a larger page context, I probably wouldn't use (.*) since that
would grab everything from the open anchor tag to the /last/ closing anchor
tag. I'd use
([^]*)
Don't, is not an illegal character in an anchor. In that case use, ?
to make the regex non-greedy (in
Message-
: From: Jochem van Dieten [mailto:[EMAIL PROTECTED]
: Sent: Friday, March 14, 2003 4:14 PM
: To: CF-Talk
: Subject: Re: SOT: RegEx Help!
:
:
: Ben Doom wrote:
: If this is in a larger page context, I probably wouldn't use
: (.*) since that
: would grab everything from the open anchor
I get these text files that I process with CFHTTP (that part works very
well for now), but occassionally, the files are messed up, in that they
have some quote marks within the text qualified quote marks. Ug.
Like this:
column 1,column 2 is ok,column has some nickname in it,ug
Which CF chokes
11 matches
Mail list logo