Mallory,
Try this:
]+')>
That should return the string;
Which you can then extract the date from.
Good luck!
Douglas Malcolm
-Original Message-
From: Mallory Woods [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 23, 2001 8:17 AM
To: CF-Talk
Subject: Regular express
This works.
#mid(theString,st.pos[3],st.len[3])#
The two pieces are:
1) Creating the regularExpression
2) understanding the use of the "return subexpressions" attribute of reFind;
check the documentation. I learned something just now about using it with a
paren-ed regular
_always_ be the
format you described, I use a regular expression like
content="([^">]*)"
and know that the stuff between the parens would be what I
wanted.
However, I see html all the time that adds newlines arbitrarily
at white space... which means that you have to somehow
OT: are there any statistics on how many developers regexp has made bald?
~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@house
Greetings All,
I am in the process of developing a small headache with Regular
Expressions...
I have looked at all of the examples I could find on the archives of this
mailing list and other web
pages but I still just don't get it.. I think I will pickup the O'Reilly
book that I have seen at ano
essage-
From: Jeff Britts [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 15, 2001 11:50 AM
To: CF-Talk
Subject: Regular expression help
Help for a regular expression idiot.
I'm looking to remove all the characters between two tags:
example
from: asldfj lskdf jaskldf jklasdf jlas
Help for a regular expression idiot.
I'm looking to remove all the characters between two tags:
example
from: asldfj lskdf jaskldf jklasdf jlaskdfj lasdkf
to:
(removing the tags themselves would be a plus)
~~
Structure
On Fri, 23 Feb 2001 10:33:10 +1300, in cf-talk you wrote:
>Firstly I'd like to mention that doing this is playing with fire. ;)
Yeah, of course it is ;)
>Secondly, I'd suggest three replaces:
>1. Replace application.cfm with an easily recognisable other string without
>application in the name.
>2
Firstly I'd like to mention that doing this is playing with fire. ;)
Secondly, I'd suggest three replaces:
1. Replace application.cfm with an easily recognisable other string without
application in the name.
2. Replace "([^a-zA-Z0-9])application.([a-zA-z])" with "\1request.\2".
3. Replace the fun
Thursday, February 22, 2001 10:35 AM
>To: CF-Talk
>Subject: Regular Expression Help?
>
>
>Hi, I'm trying to globally replace (with CF Studio) application
>variables with request variables in several sites. I can't figure out
>exactly how, as I don't know how to neg
: Thursday, February 22, 2001 10:35 AM
To: CF-Talk
Subject: Regular Expression Help?
Hi, I'm trying to globally replace (with CF Studio) application
variables with request variables in several sites. I can't figure out
exactly how, as I don't know how to negate strings (as opposed to
Hi, I'm trying to globally replace (with CF Studio) application
variables with request variables in several sites. I can't figure out
exactly how, as I don't know how to negate strings (as opposed to just
character classes).
I want to change application.variableX to request.variableX, but I
don't
Isn't it Unicode??
David
James Birchler wrote:
>
> Thanks, Paul. Here is the output I'm getting. The first few lines are me
> checking to see if the http request was successful (200=yes); 69 is the
> length of the file being returned; MIME type unknown (???); and then me
> trying to print the
Hi all. For a wonderful reference on regular expressions, go to
Albany New York Cold Fusion User Group : http://www.anycfug.org/index.cfm
Regular Expressions- Jerry Ela
Special-View an excellent online presentation developed by Jerry Ela on Regular
Expressions (A must see!)
Other good info
first strip out all the href tags then add href tags to all URLS
Joe Sheble aka Wizaerd <[EMAIL PROTECTED]> wrote:
I have some text, and in this text there may or may not be URLs. Some of
these URLs may already be inside of an A HREF tag while others may not. I
need a regular expressio
may not be URLs. Some of
> these URLs may already be inside of an A HREF tag while others may not. I
> need a regular expression that will find all the URLs (starting with
> http:// or www. or email addresses) that are not already inside of HREF
> tags and make them into valid HREF tags whi
I have some text, and in this text there may or may not be URLs. Some of
these URLs may already be inside of an A HREF tag while others may not. I
need a regular expression that will find all the URLs (starting with
http:// or www. or email addresses) that are not already inside of HREF
Just to add that the bug is with CFHTTP.
Keith
-Original Message-
From: Keith Thornburn [mailto:[EMAIL PROTECTED]]
Sent: 31 January 2001 09:34
To: CF-Talk
Subject: RE: Regular expression to parse incoming data stream? (REPOST)
Take a look at Allaire's knowledge base - there is
Take a look at Allaire's knowledge base - there is a bug fix for this.
Keith
-Original Message-
From: James Birchler [mailto:[EMAIL PROTECTED]]
Sent: 30 January 2001 22:21
To: CF-Talk
Subject: RE: Regular expression to parse incoming data stream? (REPOST)
The code I pasted in d
> Sent: Tuesday, January 30, 2001 8:45 PM
> To: CF-Talk
> Subject: RE: Regular expression to parse incoming data stream?
>
>
> Thanks, Paul. Here is the output I'm getting. The first few
> lines are me
> checking to see if the http request was successful (200
xt and can not be
rendered.
>
>
>
> xml.root.dataend: 195
> xml.root.datastart: 27
> xml.root.name: wddxPacket
> xml.root.nameend: 12
> xml.root.namestart: 2
-Original Message-
From: Paul Johnston [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 9:05 AM
To: CF-Ta
Thanks, Paul. Here is the output I'm getting. The first few lines are me
checking to see if the http request was successful (200=yes); 69 is the
length of the file being returned; MIME type unknown (???); and then me
trying to print the cfhttp.filecontent in a variety of ways. The rest is the
out
ata = Mid(xmlpacket, xml.root.datastart, temp_count);
Data
xml.root.#Lcase(i)#: #Replace(Replace(Evaluate("xml.root." &
i), "<", "<", "all"), ">", ">", "all")#
-----code-
the way I'd do it. Maybe I'll try and do this!
Paul
PS: CDATA sections look like this:
--
> -Original Message-
> From: James Birchler [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 30, 2001 2:52 PM
> To: CF-Talk
> Subject: RE: Regula
it.
Thanks,
James
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 12:47 AM
To: CF-Talk
Subject: RE: Regular expression to parse incoming data stream?
Could I recommend the custom tag, which is an alternative to
.
This is available via A
Could I recommend the custom tag, which is an alternative to
.
This is available via Allaire's tag gallery.
Mike.
-Original Message-
From: James Birchler [mailto:[EMAIL PROTECTED]]
Sent: 30 January 2001 01:05
To: CF-Talk
Subject: Regular expression to parse incoming data stream
get rid of all alpha and /, then you'll have a '<>' delimited list
"James Birchler" <[EMAIL PROTECTED]> wrote:
I am sending an http request to a server (using and )
which is responding with some xml of the form:
353
100
where the numbers are just examples of what comes back. Can anyone g
I am sending an http request to a server (using and )
which is responding with some xml of the form:
353
100
where the numbers are just examples of what comes back. Can anyone give me
an example of what I'd need to do to use regular expressions to parse the
incoming data stream (the server
Thanks for the tip, you've just helped me speed the processing time of the
query up by about 40%
;o)
-= Ed
> -Original Message-
> From: Dick Applebaum [mailto:[EMAIL PROTECTED]]
> Sent: 5 January 2001 12:48 PM
> To: CF-Talk
> Subject: Re: OT: Regu
Ed
By changing the problem specification, slightly, to:
"Remove all all non (numeric or space) characters"
you get the simplified (faster and easier to understand) regexp:
#REReplace("+44 (0) 7799 657093", "[^0-9 ]", "", "ALL")#
The "[^0-9 ]" term means
[..
don't know!
> -Original Message-
> From: JustinMacCarthy [mailto:[EMAIL PROTECTED]]
> Sent: 5 January 2001 11:27 AM
> To: CF-Talk
> Subject: RE: Regular Expression Gurus Please Help!
>
>
> Try this instead of a re
> #Replacelist("+44 (0) 7799 657093",
Try this instead of a re
#Replacelist("+44 (0) 7799 657093","+, ,(,)","")#
Justin
>-Original Message-
>From: Edward Chanter [mailto:[EMAIL PROTECTED]]
>Sent: Friday, January 05, 2001 10:47 AM
>To: CF-Talk
>Subject: OT: Regular Expression Gu
I'm really bad at these so maybe one of you has some ideas, basically I'm
trying to create a reg ex to run against a list of cell phone numbers. I
need to strip out + signs as well as brackets () and spaces " " the
expression I'm using is:
#REReplace("+44 (0) 7799 657093","+| |(|)","","ALL")#
a Petrov
> -Original Message-
> From: Brandon Behrens [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 28, 2000 4:45 PM
> To: CF-Talk
> Subject: Regular Expression in CF
>
>
> Can anyone out there tell me how I can use a regular
> expression to grab an
> entire scr
-
From: Brandon Behrens [<A HREF="mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</A>]
Can anyone out there tell me how I can use a regular expression to grab an
entire script block? Here is what I am using now:
<script.*>.*|\s
IMPORTANT NOTICE:
This e-ma
At 15:45 12/28/00 -0600, you wrote:
>Can anyone out there tell me how I can use a regular expression to grab an
>entire script block? Here is what I am using now:
>.*|\s
>This works for the following:
>
>src="<A HREF="http://images.foxnews.com/root_j
Can anyone out there tell me how I can use a regular expression to grab an
entire script block? Here is what I am using now:
.*|\s
This works for the following:
http://images.foxnews.com/root_js.js</A>">
However, it won't work if there is anything inside the scrip
anyone out there tell me how I can use a regular expression to grab an
> entire script block? Here is what I am using now:
> .*|\s
> This works for the following:
>
> src="<A HREF="http://images.foxnews.com/root_js.js">http://images.foxnews.com/ro
Can anyone out there tell me how I can use a regular expression to grab an
entire script block? Here is what I am using now:
.*|\s
This works for the following:
http://images.foxnews.com/root_js.js</A>">
However, it won't work if there is anything inside the scrip
Hello,
I've looked in the archives for a good regex email validation, however they
don't seem to be bulletproof.
Does anyone have a good RegEx to check an e-mail address? Thanks.
--
Michael She
I m a g i n e C o m m u n i c a t i o n s
Company E-mail: [EMAIL PROTECTED]
Personal E-mail: [EMA
Try:
" , CFHTTP.FileContent, bodyBegin)>
bodyBegin.|#bodyBegin#|
bodyEnd...|#bodyEnd#|
HTH
Dick
At 12:28 AM -0600 10/15/00, CF wrote:
>I need to find the ">" of the body tag of CFHTTP.FileContent.
>
>So, I need to find the first ">" following
>C
> I need to find the ">" of the body tag of CFHTTP.FileContent.
> So, I need to find the first ">" following ]*)(>)", TheString, 1, "TRUE")>
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscr
I need to find the ">" of the body tag of CFHTTP.FileContent.
So, I need to find the first ">" following Sun, IRIX, NT, Linux <-
PHP, MySQL, Perl, Cold Fusion,
MS SQL, ASP, SSI, SSL
http://www.newmediaone.net
[EMAIL PROTECTED]
(303)828-9882
o know what you want from the string.
Mark Johnson
---
Senior Cold Fusion Developer
Cardinal Communications
-Original Message-
From: sebastian palmigiani [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 29, 2000 7:29 PM
To: CF-Talk
Subject: regular expression help
Well, you've got some characters other than :Alnum: and :space:. You've got
:punct: in there also.
-Original Message-
From: sebastian palmigiani [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 29, 2000 1:29 PM
To: CF-Talk
Subject: regular expression help
What am I doing
What am I doing wrong here? What is the regular expression that will extract
a match?
STRING=
REGULAR EXPRESSION=
[[:Alnum:space:]]+', HTML)>
#x#
--
Archives: http://www.mail-archiv
:-)
>
> regards
>
> Andrew Scott
> ANZ eCommerce Centre
> * Ph 9273 0693
> * [EMAIL PROTECTED]
>
> -Original Message-
> From: Aidan Whitehall [mailto:[EMAIL PROTECTED]]
> Sent: 17 September 2000 20:05
> To: [EMAIL PROTECTED]
> Subject: Re: My brain is fri
drew Scott
ANZ eCommerce Centre
* Ph 9273 0693
* [EMAIL PROTECTED]
-Original Message-
From: Aidan Whitehall [mailto:[EMAIL PROTECTED]]
Sent: 17 September 2000 20:05
To: [EMAIL PROTECTED]
Subject: Re: My brain is fried, can someone give me some regular
expression help please...
>
unday, September 17, 2000 4:25 AM
To: [EMAIL PROTECTED]
Subject: Re: My brain is fried, can someone give me some regular
expression help please...
now you would think that would work, but it doesn't.
when running the code below, you see that there are 51 tabs in the string.
If you use listlen, yo
> now you would think that would work, but it doesn't.
> when running the code below, you see that there are 51 tabs in the
string.
> If you use listlen, you only get the tabs that have data between them
which
> amounts to 34.
Hey Allaire, are you reading this? How about
ListLen(List, 38, "allow
CTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 16, 2000 9:27 PM
Subject: RE: My brain is fried, can someone give me some regular expression
help please...
> How about:
>
>
>
>
>
>
> -Original Message-
> From: Sean Renet [mailto:[EMAIL PROTECTE
How about:
-Original Message-
From: Sean Renet [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 16, 2000 10:38 PM
To: [EMAIL PROTECTED]
Subject: My brain is fried, can someone give me some regular expression
help please...
I have a character string, which is basically a tab
I have a character string, which is basically a tab delimited list. I need
a regular expression that will count the tabs in the string and verify they
are all there.
Essentially, I would like a regular expression that does this
Thanks Greg.
Its just it happens a bit because I often use the CF regular expression engine
for reformatting HTML off web sites into DB insertable records, or searching for
overly redundant code, and other such tasks.
Sometimes I goof the REs and it virtually hangs because there are so many
4 PM
To: [EMAIL PROTECTED]
Subject: Re: Regular Expression in Extended Search and Replace
As far as I know, its the same as REs in the ColdFusion functions, Bob.
The main thing to remember is that you don't put any of the regular
expression
stuff in the replace box, except for back-references.
B
As far as I know, its the same as REs in the ColdFusion functions, Bob.
The main thing to remember is that you don't put any of the regular expression
stuff in the replace box, except for back-references.
BTW, is there any way to stop CF Studio searching if you botch your RE and it
ta
Anyone have some example sytax for using regular expressions in the
extended search and replace and find in Cold Fusion Studio 4.5?
Bob Everland
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com
You need the chr(13) & chr(10) characters to be replaced with
-Original Message-
From: Nicole R. Lane [mailto:[EMAIL PROTECTED]]
Sent: Friday, 23 June 2000 2:54 PM
To: [EMAIL PROTECTED]
Subject: Regular Expression Help
Hi:
I'm trying to replace the new line character with
:[EMAIL PROTECTED]]
Sent: Thursday, June 22, 2000 10:11 PM
To: [EMAIL PROTECTED]
Subject: Re: Regular Expression Help
Application.cfm files are great for saving on coding and site management and
stuff, but when you have sub folders that need their own Application.cfm
files, they become less
> Application.cfm files are great for saving on coding and site
> management and
> stuff, but when you have sub folders that need their own
> Application.cfm
> files, they become less convenient as you have to make sure
> to include any
> needed code from the Application.cfms above them. Today
>-Original Message-
>From: Todd Ashworth [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, June 22, 2000 9:11 PM
>To: [EMAIL PROTECTED]
>Subject: Re: Regular Expression Help
>
>Is it possible to the 'root' Application.cfm
>into the sub Application.cfms?
Wor
Sorry for the mixed up subject line .. I'm going to bed .. sheesh.
- Original Message -
From: Todd Ashworth <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 22, 2000 10:11 PM
Subject: Re: Regular Expression Help
> Application.cfm files are great for
Application.cfm files are great for saving on coding and site management and
stuff, but when you have sub folders that need their own Application.cfm
files, they become less convenient as you have to make sure to include any
needed code from the Application.cfms above them. Today, I had a (probab
Hi:
I'm trying to replace the new line character with for every line
between the ".nf" and ".fi" tags.
Sample Text:
-
text
.nf
Prepared by:
Richard E. Wallace
Bureau of Audits
Reviewed by:
C. Joseph Meisinger
Fiscal Office
.fi
more text
-
I was thinking this, but it doesn't work:
I have looked at the manuals for regular expression help, but I am still
mystified as to how to accomplish a simple character stripping. I have
a string, ex. "hello i have spaces, and punctuation." that I want
everything but alpha numeric characters stripped from it and spaces
co
401 - 465 of 465 matches
Mail list logo