I need to extract a particular piece of data from one of my query fields and
I'm not sure how to go about it.
We have incidents in one table that can have comments in another table
associated with them.
Here's an example of one of the comments in my query results that I need to
grab data from
I want to replace any occurrence of multiple -- in string so the entire
string only contains one - in a row after filtering.
Something like this does (sort of):
#Replacelist("#mayvar#","-,,---,--","-,-,-,-")#
But with regex more like:
#ReReplace("#myvar#","--,"-","ALL")
How would I write a expression to replace $2,345.00 with 2345
Thanks
Douglas Brown
Email: [EMAIL PROTECTED]
__
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FA
I was wondering if I could get some help with some server-side numeric
validation I'm doing. I've read Michael's RegEx tutorial at housoffusion.com
but can't seem to get my tests working.
I was trying to build RegEx's base on the following rules:
1. All numeric, whole numbers
2. All numeric, p
My copy of Mastering Regular Expressions is on its way, but for now can
anyone help with the following?
Given a string such as "sometext[othertext[finaltext] - maybemoretext[]]", I
want to return both "sometext", and the contents of the outer "[ ]".
Any suggestions on how to do nested regexes li
How do you write a regular expression which checks a string for any
characters/words other than a specified few and returns true if there are
ANY other characters in the string.
Brook
__
Structure your ColdFusion code with Fu
Does anyone know a regular expression that can be used in a rereplace(...)
to remove HTML comments from a string? I can't find one that takes into
account nested comments...
+---+
Bryan Love
Macromedia Certified Professional
Internet Application D
Someday I'll figure this out:
I need to replace all characters from to the beginning of the
string, inclusive. How do I do it?
I tried:
","")>
But got nowhere...
Ian
Portent Interactive
Helping clients build customer relationships on the web since 1995
Consulting, design, development, measu
Got a Regular Expression problem that I can't figure out how to solve.
Below are two possible strings that could be send to my replace function.
The order of the atributes could be in any order and the domain name and
file name will also be different in each case.
http://www.domain.com/aboutuson
I am trying to do a search in ColdFusion Studio 5.0 to find all the pages in
a project that don't contain a specific string, does anyone know of a way I
can do this with regular expressions?
Bernd VanSkiver
[EMAIL PROTECTED]
ColdFusion Developer
___
I want to find all items in a list that begin with an "I" and followed
by digits only.
Is there a global options in REFindNoCase function so that I can run it
once and then loop throught the pos and len arrays?
#ArrayLen( x.pos )# -- This should return 4,
right? Why Not?
Thanks,
Troy
--
Tro
Hello all,
A bit unfamiliar with anything somewhat tricky using regular
expressions. So any help with this would be very much appreciated.
I have a set of text that I would like to replace with another set.
I have a string of text example:
---Test---
Abc 123 Easy
---Test---
I need to not onl
That works great but it also removes other links which start with some text.
I need it to remove links that start with ]*>", "", "ALL")
Cheers
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
Good Morning.
A day or so ao I got some help with a regular expression and when I wrote a sample
input string to match against it worked fine, howvever I failed to realize I have to
HTMLCodeFormat the results from the http post in order to get a string to use. The
Regex does not seem to work wi
I am trying to determine if an integer begins with 332.
The number varies in length from 4 to 9 digits in length. If 332 begins the number I
would like to return the number minus the 332.
I am still trying to learn regex so an explanation with any ideas would be very
helpful. Here is what I am
Can someone assist me in writing a regex to return a string that has only spaces,
numbers and letters reminaing?
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/
Can someone assist me in writing a regex to remove all common words such as
inc., corp., llc., ltd. from a company name field.
Thanks
Thanh Nguyen
~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://
Try this out:
Assuming for example that your company name field is form.company_name:
The regular expression uses this type of syntax: (word1|word2|word3|word4). This says
to replace anything that matches word1 OR word2 OR word3 OR word4. In this case, of
course, we are replacing the matche
I was looking for a RegEx to strip all non-alphanumeric characters.
Thanks,
Dave
HTC Disclaimer: The information contained in this message may be privileged and
confidential and protected from disclosure. If the reader of this message is not the
intended recipient, or an employee or agen
Regex help please. I've been busting my brain on this one.
Here's what I'm trying to do, I could have string like:
"...a cat hat prate at bird..."
And I want to match all the "at" strings except the "at" string in the
"cat".
I tried a bu
I've written a simple Regex to remove all the whitespace from my templates:
The problem I'm having is if there is _javascript_ on a page and there are
inline comments, the _javascript_ won't work.
alert('Hello'); // 1st line comment
alert('Is anyone there?'); // 2nd line comment
becomes:
al
Hey All,
I'm Looking for Regex to validate that an email has an @ symbol and
that there is no invalid character's
Thanks,
Trevor Holm-Laursen
eBusiness Developer, FCS
Direct: (902)463-5953
FCS (Fundy Computer Services Ltd.)
Tel 877-993-8636
Fax 902-484-5887
Email: [EMAIL PROTECTED]
Web
I have routine that reads in an RTF file, and then needs to find bookmarks
and insert a value for the bookmark. I'm usings CF's "replace" function,
and it works, but takes way too long in some cases. So I thought that if I
use regular expressions (with the REReplace function), I might speed thing
I am parsing a document that is a simple unix text document. I want to
grab one line at a time so I use refind("^.*$", text, 1, true). However
this doesn't grab a single line at a time, it grabs the entire blob of
text?! Am I doing something wrong?
Thanks,
Ray
[Todays Threads]
[This Messa
hola listo!
I need some regex help : )
i need to find all cf tags in some text and replace it with something else
so anything that starts with "" and anything that starts with ""
this should be an easy one and im sure it is... but I left my brain on vacation
i THOUGHT it
Hi All,
I'm trying to write a regex that does the following:
Looks for any instance of the string \par followed by anything but a space
and replace it with \par and a space and the character that followed it.
So, if I have \parThe
I want
\par The
Here's what I'm trying, and it doesn't work:
re
Does anyone have a regex handy to check a potential link.
For instance: I need to make sure the link specified is in the following
format
http://www.whatever OR http://something
Im not sure what the best check would be, I guess this is the least common
denominator for strictly http links.
Someon
I've dabbled in regex, but am not very good at it yet :-) Anyone
willing to help with this would be extremely helpful.
I have a string (actually coming from cgi.http_referer) and I append a
variable to the end to pass the status of an operation back to the
original page. I do this for errors a
I'm trying to parse through some information in a text document where
there is information like this:
Text text text text text text text
FirstName: Bob Age: 30 text text text
text text text text text LastName: Brown text text
text text text
but this information is also within a bunch of other t
Was wondering how I would strip out everything between
word and just leave the word?
Any ideas
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, del
I'm not really good with regexes so I need some help here. I have a
simple search page which searches a table containing a keyword and
description. I want to implement highlighting which was simple.
However, I need to enhance it slightly.
For example, if the user searches for "architect" res
Hello all,
Im a bit rusty with regular expressions and I know this is an easy one so im
kicking myself for not having it that much more.
Im simply trying to ensure that a given string has between 6 and 12 characters
and contains at least 1 numeric character.
Any help would be greatly
I need to remove all characters from a string that are *NOT* the following:
A-Z
#
*
/
-
currently, my regex looks like this:
REReplace(lastName,"[^[:alpha:]]","","ALL")))
Clearly, I've got to add the other characters in, but I'm not sure quite
where to put them.
Rick
Anyone got a RegEx to strip out certain HTML tags (and content between
them). I have a working StripHTML UDF now but I require one which can say
remove this in its entirety:
pong
Any RegEx gurus out there switched on today?
TIA
This e-mail is from Reed Exhibitions (Oriel H
hey guys, need some more regex help
I am wanting to match the word and, for instance in the following query:
SELECT
brbrch,
brname,
brst||char(brbrch)
FROM tn9997/sybr
where brregn=5
and bract='Y'
with regex. How could I make it whe
I'm wanting to replace the literal string: with an
empty space using REReplace().
I can't seem to get this regex to work. What am I doing wrong?
^(?=.*?\b\b)(?=.*?\b \b)(?=.*?\b\b).*$
Thanks,
Mark
~|
Discover CF
I need to get formfield names from a plain html doc loaded as a string.
Does anyone with a better grasp of regex know an efficient way to get the
value of a name of a formfield. (ie name="firstname" returns firstname) also
taking into consideration variances such as name=firstname.
Thanks,
Emmet
I need some help with a regex problem.
Paging Ben Doom, and other regex Gods.:)
I need to change the src path in all img tags in a string.
IE
src="http://blahblah/blah/somefile.gif";
or
src="/blahblah/blah/somefile.gif"
or
src="file:/blahblah/blah/somefile.gif"
to
I'm trying to split up html paragraph tags into items
in an array with their contents in between the p's, I found ReSplit on
cflib.org which will do one part but it's the regex that's beating me,
I've tried .* which i thought it would be but no joy,
any ideas,
thanks,
john.
~~~
didnt Mike have a cfm regex builer at one time??
I need a regex to find an email inbetween brackets like such <[EMAIL
PROTECTED]> but its gotta be an email because some will also have
as well and I dont want those.
anyone? Ben..
~Dave the disruptor~
I forgot what I was gunna put here
I'm trying to create a regex that does the following, with little luck so
far.
I want to remove all periods ( . ) that do not appear between 2 numbers. For
instance, I would want to keep this period:
5.5
But not these:
www.domain.com
I want the periods to be replaces with a space in the seco
(CF5 on IIS, Win2k Server)
I have a CF template set up as the IIS 404 error handler on a web site.
When IIS detects a 404 error it calls the CF page and passes the original
request within the CGI variable cgi.query_string in the following form:
404;http://www.mydomain.com/missingpage.htm
or if
I have been playing around with some regex patterns and have run into a
snag. One issue the regex works differently in IE6 and Firefox. I
didn't know the regex would behave differently in these browsers. The
main issue is validating the use of character class (@#$^_*). Do I need
to escape these?
I'm really not very good at this, so I'm grateful for any help. I've been
using one of those regex editors, but I just can't seem to get my head
around the way it's used (regEx buddy).
What I want to do is take a URL string, such as
"/level-1/2nd-level/index.cfm" and just keep the string which is
Hi All,
Need some help with a regex. What I'm trying to do is validate and
input in javascript.
The users are allowed to input a number.
It can be in the following formats:
9
9.9
9.99
.99
.9
(9 used inplace of any digit.)
I tried using \b[0-9.]+ and I've tried \b[\d]*([.]?[\d]{0,2})? an
This is a tough one...
It's an old bbml parser I wrote a while back and im trying to modify it a
little.
I want to search through the string and replace all instances of [b] with
UNLESS it falls between [pre] and [/pre]
I just can't seem to get it right.
Replace [b] with except when it starts
Hello everybody,
I need some help with regular expressions.
I'm trying to write a reqular expression that will return all the links on a
page that contain a string in the query string.
I found a UDF on cflib that returns a list of all the anchor tags on a page but
I want to only return all hre
This SEEMED simple enough, but I can't quite make it work. Tried for the last
30 minutes.
The string cannot have any spaces in between the if( or the ){
#reFindNoCase(re, str)#
WHat am I doin wrong?
Thanks,
Will
~|
Adob
I need a little quick (hopefully) regex help.
I have to modify all the links on a site that do not contain onclick events
Here is the regex and sample code I have:
Click here for File
Click here for
File
ReReplaceNoCase(myContent, "()(.*?)()", "\1\2""
onclick=&
Hi All,
Can anyone help me with a particular regex patten? I am trying to find any
email address that has at least one dot in the username portion and the entire
email string is surrounded by bold tags?
Thanks
~|
Adobe® Cold
Hello,
I'm trying to use cfhttp to download and parse a directory listing from one of
my sites. I can download the page but the parsing is a whole different story
:-).
I'm trying to use REFind to get all of the anchor/href tags but I'm coming up
short.
If I use the following regular expressio
From: Debbie Morris [mailto:ddicker...@macromedia.com]
Sent: Monday, June 07, 2010 1:51 PM
To: cf-talk
Subject: RegEx help
I need to extract a particular piece of data from one of my query fields and
I'm not sure how to go about it.
We have incidents in one table that can have comments in ano
Assuming that those are tabs between the elements, the following will
expand on Andy's suggestion.
#mid(testString, test.pos[2], test.len[2])#
From: "Andy Matthews"
Sent: Monday, June 07, 2010 3:32 PM
To: "cf-talk"
Subjec
...@wanax.com]
Sent: Monday, June 07, 2010 4:27 PM
To: cf-talk
Subject: RE: RegEx help
Assuming that those are tabs between the elements, the following will
expand on Andy's suggestion.
#mid(testString, test.pos[2], test.len[2])#
From: "Andy Ma
-Original Message-
From: Debbie Morris [mailto:dmor...@sussexcountyde.gov]
Sent: Tuesday, June 08, 2010 10:23 AM
To: cf-talk
Subject: RE: RegEx help
Thanks for the help, Jason and Andy. Turns out the character apparently
isn't a tab though. Viewing it in WireShark, it looks like th
.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
> Bobby Hartsfield
> http://acoderslife.com
>
> -Original Message-
> From: Debbie Morris [mailto:dmor...@sussexcountyde.gov]
> Sent: Tuesday, June 08, 2010 10:23 AM
> To: cf-talk
> Subject: RE: RegEx help
>
>
> Thanks for th
Oh. I never saw mention of that... and I think it's a she ;-)
.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Michael Grant [mailto:mgr...@modus.bz]
Sent: Tuesday, June 08, 2010 11:06 AM
To: cf-talk
Subject: Re: RegEx help
I thi
nd I think it's a she ;-)
>
> .:.:.:.:.:.:.:.:.:.:.:.:.:.
> Bobby Hartsfield
> http://acoderslife.com
>
>
> -Original Message-
> From: Michael Grant [mailto:mgr...@modus.bz]
> Sent: Tuesday, June 08, 2010 11:06 AM
> To: cf-talk
> Subject: Re: RegEx help
>
>
> I think h
How about something like this:
#mid(thestring,arFound["pos"][1],arFound["len"][1])#
Cheers,
Kris
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag
Rather, that would be, if you don't want the label of the field:
#mid(thestring,arFound["pos"][2],arFound["len"][2])#
Cheers,
Kris
On Tue, Jun 8, 2010 at 11:43 AM, Kris Jones wrote:
> How about something like this:
>
> refindnocase("Age:([^\r\n|\r|\n]*)[\r\n|\r|\n]",thestring,1,true) />
> #mi
Debbie,
Where 'testString' is your content, try this:
#mid(testString, test.pos[2], test.len[2])#
From: "Debbie Morris"
Sent: Tuesday, June 08, 2010 10:24 AM
To: "cf-talk"
Subject: RE: RegEx help
Thanks for the help,
rom: Jason Fisher [mailto:ja...@wanax.com]
Sent: Tuesday, June 08, 2010 11:40 AM
To: cf-talk
Subject: RE: RegEx help
Debbie,
Where 'testString' is your content, try this:
#mid(testString, test.pos[2], test.len[2])#
From: "Debbie Morris
age-
From: Jason Fisher [mailto:ja...@wanax.com]
Sent: Tuesday, June 08, 2010 11:40 AM
To: cf-talk
Subject: RE: RegEx help
Debbie,
Where 'testString' is your content, try this:
#mid(testString, test.pos[2], test.len[2])#
From: "Deb
rereplace( myvar, '-+', '-', 'all' )
On Mon, Jul 26, 2010 at 10:59 AM, Robert Harrison <
rob...@austin-williams.com> wrote:
>
> I want to replace any occurrence of multiple -- in string so the entire
> string only contains one - in a row after filtering.
>
> Something like this does (sort of):
>
OT: Isn't regex elegant? Often very cryptic but any solution where I've used
regex seems both sophisticated and simple.
As you were.
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-
t must be &.
Plug in to our blog: A&W Unplugged
http://www.austin-williams.com/unplugged
-Original Message-
From: Charlie Griefer [mailto:charlie.grie...@gmail.com]
Sent: Monday, July 26, 2010 2:04 PM
To: cf-talk
Subject: Re: Regex Help
rereplace( myvar, '-+', '-
http://www.cftagstore.com/tags/cfreextract.cfm
:)
-Original Message-
From: Robert Harrison [mailto:rob...@austin-williams.com]
Sent: Monday, July 26, 2010 1:00 PM
To: cf-talk
Subject: Regex Help
I want to replace any occurrence of multiple -- in string so the entire
string only
troublemaker :D
On Mon, Jul 26, 2010 at 12:02 PM, Andy Matthews wrote:
>
> http://www.cftagstore.com/tags/cfreextract.cfm
>
> :)
>
> -Original Message-
> From: Robert Harrison [mailto:rob...@austin-williams.com]
> Sent: Monday, July 26, 2010 1:00 PM
> To: cf
Sigh...
.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Andy Matthews [mailto:li...@commadelimited.com]
Sent: Monday, July 26, 2010 3:03 PM
To: cf-talk
Subject: RE: Regex Help
[Completely irrelevant link removed]
:)
-Original
You know I was kidding right?
-Original Message-
From: Bobby Hartsfield [mailto:bo...@acoderslife.com]
Sent: Monday, July 26, 2010 6:21 PM
To: cf-talk
Subject: RE: Regex Help
Sigh...
.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message
> Subject: RE: Regex Help
>
>
> Sigh...
>
>
> .:.:.:.:.:.:.:.:.:.:.:.:.:.
> Bobby Hartsfield
> http://acoderslife.com
>
> -Original Message-
> From: Andy Matthews [mailto:li...@commadelimited.com]
> Sent: Monday, July 26, 2010 3:03 PM
> To: cf-t
1 PM
> To: cf-talk
> Subject: RE: Regex Help
>
>
> Sigh...
>
>
> .:.:.:.:.:.:.:.:.:.:.:.:.:.
> Bobby Hartsfield
> http://acoderslife.com
>
> -Original Message-
> From: Andy Matthews [mailto:li...@commadelimited.com]
> Sent: Monday, July 26, 2010 3:03
can't be either/or. It must be &.
Plug in to our blog: A&W Unplugged
http://www.austin-williams.com/unplugged
-Original Message-
From: Michael Grant [mailto:mgr...@modus.bz]
Sent: Monday, July 26, 2010 9:15 PM
To: cf-talk
Subject: Re: Regex Help
I hope he does because yo
t; Great advertising can't be either/or. It must be &.
>
> Plug in to our blog: A&W Unplugged
> http://www.austin-williams.com/unplugged
>
>
> -Original Message-
> From: Michael Grant [mailto:mgr...@modus.bz]
> Sent: Monday, July 26, 2010 9:15 PM
> To: cf-
> Why not use url rewrite instead?
What's that? Have a link?
Robert B. Harrison
Director of Interactive Services
Austin & Williams
125 Kennedy Drive, Suite 100
Hauppauge NY 11788
P : 631.231.6600 Ext. 119
F : 631.434.7022
http://www.austin-williams.com
Great advertising can't be either/or
http://en.wikipedia.org/wiki/Rewrite_engine
On Tue, Jul 27, 2010 at 11:17 AM, Robert Harrison <
rob...@austin-williams.com> wrote:
>
> > Why not use url rewrite instead?
>
> What's that? Have a link?
>
>
>
> Robert B. Harrison
> Director of Interactive Services
> Austin & Williams
> 125 Kennedy
ustin-williams.com/unplugged
-Original Message-
From: Robert Harrison [mailto:rob...@austin-williams.com]
Sent: Tuesday, July 27, 2010 11:17 AM
To: cf-talk
Subject: RE: Regex Help
> Why not use url rewrite instead?
What's that? Have a link?
Robert B. Harrison
Director of Int
to:mgr...@modus.bz]
Sent: Tuesday, July 27, 2010 10:05 AM
To: cf-talk
Subject: Re: Regex Help
Why not use url rewrite instead?
This type of thing is perfect for it, plus none of your existing links will
break.
On Tue, Jul 27, 2010 at 10:55 AM, Robert Harrison <
rob...@austin-williams.com&
fter category/ and pass it to index.cfm as
verb=category&term=jQuery
andy
-Original Message-
From: Robert Harrison [mailto:rob...@austin-williams.com]
Sent: Tuesday, July 27, 2010 10:24 AM
To: cf-talk
Subject: RE: Regex Help
> Why not use url rewrite instead?
If it
> I converting all my URLs from the old variable scheme (i.e., news.cfm?id=7)
> to the stupid SEO spoonfeed urls (i.e.,
> news.cfm/this-is-my-article-for-stupid-lazy-google-programmers-who-cant-unde
> rstand-variables).
>
> I hate this. I now believe Google has supplanted Microsoft as the most evi
> Fixing the current links within your site so that they're search engine
safe will actually break ALL of your indexed links within Google, or Yahoo,
etc.
In this case I put in a hook old so the old links still work. They do a 301
redirect to the new link schema. That should cover the search eng
Robert:
Decided I'd check out your site.
This page is messed up: http://www.austin-williams.com/people/
Barbara Espisito's mini bio is all screwy. (Ironic that she's the copy
chief.)
Looking at the source it looks like your db entry for her is mangled pretty
badly.
On another note, who took tho
Absolutely... nd I thought it was pretty funny :-)
.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: andy matthews [mailto:li...@commadelimited.com]
Sent: Monday, July 26, 2010 8:52 PM
To: cf-talk
Subject: RE: Regex Help
You know I was
Hmmm. Those pages are static and
http://www.austin-williams.com/people/barbara-esposito.cfm looks fine from
here.
What are you seeing? What browser are you on?
As far as the pictures, I'm the Technology Director, not the Creative
Director. That is ground on which I do not tread :-)
Robert B
It was on the link I posted. However after going to it again I see it's not
outputting the same as it was. Weird. I'm on chrome. Her text description
was displaying hundreds of little rectangles. Like when character encoding
is improper.
On Tue, Jul 27, 2010 at 12:28 PM, Robert Harrison <
rob...@
This is neither here nor there, but the URLRewriteFilter can go on the
actual application server, thus negating the need for IIS or Apache
intervention, and as an added bonus, can do outbound rules as well.
This means that you don't need to change your internal links from:
index.cfm?somevar=wooho
Hi Rich,
Many thanks!! Worked like a charm!
Cheers
David
-Original Message-
From: Rich Wild [mailto:[EMAIL PROTECTED]]
Sent: 05 July 2002 16:50
To: CF-Talk
Subject: RE: Regex help
try this (watch out for e-mail wrapping):
This is some test text.
I just want the http
> How would I write a expression to replace $2,345.00 with 2345
Here's one way to do it:
That _should_ work. :)
Ben Johnson
__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetp
> How would I write a expression to replace $2,345.00 with
> 2345
REReplace(listfirst(mystring,"."),"[^[:digit:]]","","ALL")
will eliminate decimal places and strip all non-numeric characters from a
string...
Isaac
www.turnkey.to
954-776-0046
__
there's a great regex tutorial on house of fusion.
ken
-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 05, 2002 2:35 PM
To: CF-Talk
Subject: Re: REgex help
> How would I write a expression to replace $2,345.00 with
> 2345
REReplac
s and only contains numbers or a period.
Michael Dinowitz
Master of the House of Fusion
http://www.houseoffusion.com
- Original Message -
From: "Dave Carabetta" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, July 10, 2002 11:35 AM
Subject:
: '^(+-)? *[0-9.]+$'
This accepts multiple decimal points. I try to stick with one per number.
:-)
I would use something more like:
'^[[:space:]]*(+-)?[[:space:]]*[0-9]+(\.[0-9]+)?[[:space:]]*$'
I'm not sure about the [[:space:]]'s -- you might want to just allow spaces
and tabs rather than vt
say more on that, mainly 'cause
it's easier for me to visualize.
Steve
-Original Message-
From: Dan Haley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 13, 2000 4:13 PM
To: '[EMAIL PROTECTED]'
Subject: regex help
My copy of Mastering Regular Expressions is on
y, 4 June 2002 10:25 a.m.
> To: CF-Talk
> Subject: REGEX help
>
>
> Someday I'll figure this out:
>
> I need to replace all characters from to the beginning of the
> string, inclusive. How do I do it?
>
> I tried:
>
> ","")>
>
&g
Ah. I tried that before as *. - switching the two characters did the
trick.
Thanks!
Any good sites/books out there about RegEx?
-Original Message-
From: Matthew Walker [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 03, 2002 3:44 PM
To: CF-Talk
Subject: RE: REGEX help
You can'
Bernd VanSkiver wrote:
> Got a Regular Expression problem that I can't figure out how to solve.
> Below are two possible strings that could be send to my replace function.
> The order of the atributes could be in any order and the domain name and
> file name will also be different in each case.
>
ouple of complications: what about https://
What happens if they reverse src and alt or add extra spaces.
- Original Message -
From: "Bernd VanSkiver" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, December 13, 2001 3:21 PM
Subject: R
December 13, 2001 2:21 PM
To: CF-Talk
Subject: RegEx Help
Got a Regular Expression problem that I can't figure out how to solve.
Below are two possible strings that could be send to my replace function.
The order of the atributes could be in any order and the domain name and
file name will
Troy Simpson wrote:
> I want to find all items in a list that begin with an "I" and followed
> by digits only.
> Is there a global options in REFindNoCase function so that I can run it
> once and then loop throught the pos and len arrays?
>
>
>
> #ArrayLen( x.pos )# -- This should return 4,
>
I seem to be having a problem searching for a space using RegEx. This is
what i'm using:
bad chars found
but it doesn't find any of the chars i'm looking for if i include "[ ]". If
i remove that part, it finds what i'm looking for. Does anyone know why this
doesn't work? Thanks for the
1 - 100 of 618 matches
Mail list logo