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
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
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:
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Perhaps something like this:
newstring = "Join the CF-RegEx list for Happy Fun RegEx Help in a Bottle.";
content = rereplace(content, '---Test---.*---Test---', newstring);
This assumes that the test string appears only once in the text. If it
appears multiple times
- Original Message -
From: "Chris Alvarado" <[EMAIL PROTECTED]>
> ---Test---
>
> Abc 123 Easy
>
> ---Test---
>
> I need to not only replace the "Abc 123 Easy" text, but also replace
> both the beginning "---Test---" and the ending "---Test--" but nothing
> prior to the beginning and nothing
m/[^(this|that|\s)]/ig
Anything other than --> this that spaces
On Fri, 20 Sep 2002, Brook wrote:
> 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
>
Interesting. RegEx is an art I really need to learn more thouroughly. Thank :)
At 01:47 PM 20/09/02 -0400, you wrote:
>m/[^(this|that|\s)]/ig
>
>Anything other than --> this that spaces
>
>
>On Fri, 20 Sep 2002, Brook wrote:
>
> > How do you write a regular expression which checks a string for a
That's PERL right? ...
CF is going to be slightly different...
I think is equivalent... If not...
Brook: you might find the [EMAIL PROTECTED] list helpful
incidentally...
> m/[^(this|that|\s)]/ig
> Anything other than --> this that spaces
> On Fri, 20 Sep 2002, Brook wrote:
>> How do y
-
: From: Brook [mailto:[EMAIL PROTECTED]]
: Sent: Friday, September 20, 2002 1:39 PM
: To: CF-Talk
: Subject: regex help
:
:
: 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 chara
orms a class. What're inside are
treated as individual characters, not words/groups/etc.
--Ben Doom
Programmer & General Lackey
Moonbow Software
: -Original Message-
: From: Alex [mailto:[EMAIL PROTECTED]]
: Sent: Friday, September 20, 2002 1:47 PM
: To: CF-Talk
: S
grouping structure forms a class. What're inside are
> treated as individual characters, not words/groups/etc.
> --Ben Doom
> Programmer & General Lackey
> Moonbow Software
> : -Original Message-
> : From: Alex [mailto:[EMAIL PROTECTED]]
> :
de are
> > treated as individual characters, not words/groups/etc.
>
>
> > --Ben Doom
> > Programmer & General Lackey
> > Moonbow Software
>
> > : -Original Message-
> > : From: Alex [mailto:[EMAIL PROTECTED]]
> > : Sent: Fr
: I thought there was something squirrelly about that expression... I'm
: probably still learning regex myself... It's one of those things
: that really
: seems to take a while to grok.
I've been doing regex for about 4 years now and I /still/ see new tricks and
stuff. Kinda like the game Othell
On Friday, September 20, 2002, at 07:12 PM, Ben Doom wrote:
> Personally, I like them. I've never been one to worry too much about
> efficiency when something gets the job done well. Regex is powerful
> as all
> hell and both subtle and easy to use.
>
>
There are those who claim that an effic
hing like:
>
>
>
>Where you would replace the word illegal with the chars you want to
>disallow.
>
>HTH.
>
> --Ben Doom
> Programmer & General Lackey
> Moonbow Software
>
>: -----Original Message-
>: From: Brook [mailto:[EMAIL PROTECTED]]
I'm trying to pull all (any text here).
I've got: but can't seem to get the wildcard to work so that I can
grab the entire element.
Any ideas?
Ian
__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ:
:
:
This looks kinda funny to me. You are allowing "filterfilter9" but not
"filter19" -- is this what you meant?
Assuming the legal words are 'and or not filterx" where x is a number, I
think you want to use:
Bad string
good string
In any case, when I changed the if/endif with the to an
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 d
Oliver,
Try something like this:
]*>", "",
"ALL")>
Thanks,
André
-Original Message-
From: Oliver Cookson [mailto:[EMAIL PROTECTED]
Sent: 14 March 2003 11:13
To: CF-Talk
Subject: SOT: RegEx Help!
Any ninja's out there? ;)
Im having trouble w
If you need urgent help on javascript, I would recommend the #javascript
IRC group on efnet, I have had some very good responses there, and people
don't seem to mind that you just drop in and ask a question.
Hugo
~|
Archives:
eral Lackey
Moonbow Software, Inc
: -Original Message-
: From: Oliver Cookson [mailto:[EMAIL PROTECTED]
: Sent: Friday, March 14, 2003 10:47 AM
: To: CF-Talk
: Subject: RegEx Help!
:
:
: That works great but it also removes other links which start with
: some text.
:
: I need it to re
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
o: CF-Talk
Subject: Regex Help
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
--(.*)---%>.*$","\1")
Regards,
Matthew Walker
Electric Sheep Web
http://www.electricsheep.co.nz/
- Original Message -
From: "Michael Tangorre" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, June 06, 2003 12:02 AM
Subject: R
]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, June 05, 2003 8:11 AM
Subject: RE: Regex Help
> I'm not sure if this will help, but try nesting your functions the other
way
> so the RegEx gets applied before the HTMLCodeFormat, or if that doesn't
> work
Assuming the RegEx works, at what point have you been using
HTMLCodeFormat()?
-Original Message-
From: Michael Tangorre [mailto:[EMAIL PROTECTED]
Sent: 05 June 2003 13:13
To: CF-Talk
Subject: Re: Regex Help
sorry that the code got all scrunched together.. let me try posting the code
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
in1 should be testNum, I typed it in wrong...
- Original Message -
From: "Michael T. Tangorre" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, June 16, 2003 1:44 PM
Subject: regex help
> I am trying to determine if an integer beg
^332 ---> look for a string with 332 at the beginning
([0-9]*) Look for all remaining digits after that.
Marlon
-Original Message-
From: Michael T. Tangorre [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2003 12:44 PM
To: CF-Talk
Subject: regex help
I am trying to determine
ubject: Re: regex help
in1 should be testNum, I typed it in wrong...
- Original Message -
From: "Michael T. Tangorre" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, June 16, 2003 1:44 PM
Subject: regex help
> I am trying to determine
Thank you for the help, explanation and link. I will check that out for
sure.
Mike
- Original Message -
From: "Marlon Moyer" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, June 16, 2003 1:55 PM
Subject: RE: regex help
> Mich
Too bad it does not install on W2K.
:`(
-Original Message-
From: Marlon Moyer [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2003 12:55 PM
To: CF-Talk
Subject: RE: regex help
Michael,
I also use this program to help test regex's. It's quicker than using cf
most of the t
I've had it running on win2k before. You have to run it in the win95
compatibility mode.
Marlon
-Original Message-
From: Greg McDaniel [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2003 1:10 PM
To: CF-Talk
Subject: RE: regex help
Too bad it does not install o
I just noticed that as well. :-(
- Original Message -
From: "Greg McDaniel" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, June 16, 2003 2:10 PM
Subject: RE: regex help
> Too bad it does not install on W2K.
> :`(
>
&g
al Message-
: From: Michael T. Tangorre [mailto:[EMAIL PROTECTED]
: Sent: Monday, June 16, 2003 1:44 PM
: To: CF-Talk
: Subject: regex help
:
:
: 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 li
Here is a string I need to change.
I need to replace "&Oby=OrderID&Stype=Asc" where "OrderID" could be anything
so I need a wildcard in there. And same with with Stype which could be "Asc"
or "Desc" so I also need a wildcard in there.
So something like this
TIA
Ryan
~~~
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
rereplace(mystring, "(\ \par)([^[:space:]])",
"\1 \2", "all")
-Original Message-
From: Deanna Schneider [mailto:[EMAIL PROTECTED]
Sent: donderdag 11 december 2003 15:25
To: CF-Talk
Subject: regex help
Hi All,
I'm trying to write a regex that does the
Trying to parse RTF files, eh?
I think the \ character needs to be escaped.
rereplace(mystring, "\\par([[::alnum::]]+)", "\par \1", "all")
Not sure, though.
Jerry Johnson
>>> [EMAIL PROTECTED] 12/11/03 09:25AM >>>
Hi All,
I'm trying to write a regex that does the following:
Looks for any insta
due to Outlook, this doesn't look right. It should be :
"(\\par)([^[:space:]])"
-Original Message-
From: Pascal Peters
Sent: donderdag 11 december 2003 15:31
To: CF-Talk
Subject: RE: regex help
rereplace(mystring, "(\ \par)([^[:space:]])",
"\1 \2"
is still
followed by a space so it gets read as a \par and still shows the next word.
- Original Message -
From: "Pascal Peters" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, December 11, 2003 8:31 AM
Subject: RE: regex help
>
" <[EMAIL PROTECTED]>
Sent: Thursday, December 11, 2003 8:41 AM
Subject: RE: regex help
> due to Outlook, this doesn't look right. It should be :
> "(\\par)([^[:space:]])"
> -Original Message-
> From: Pascal Peters
> Sent: donderdag 11 december 2003 15:
- Original Message -
> From: "Pascal Peters" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Thursday, December 11, 2003 8:41 AM
> Subject: RE: regex help
>
> > due to Outlook, this doesn't look right. It should be :
&g
On MX only:
rereplace(mystring, "(\\par)(?!\s)", "\1 ", "all")
On CF5, run it twice.
-Original Message-
From: Deanna Schneider [mailto:[EMAIL PROTECTED]
Sent: donderdag 11 december 2003 15:58
To: CF-Talk
Subject: Re: regex help
Hm...this works sort of, b
06/01/2004 15:18 Subject: Regex Help
Please respond to
With regular expressions, it tends to much, much harder to say "do this
when a condition is false" than "do this when a condition is true".
One option that would at least fix the problem with the scripts (though
not the textareas or the PRE blocks) would be to replace [[:space:]]
with a class o
.
The client has strict bandwidth utilisation rules, so anything I can do to
drop the page size is important.
Thanks for your help.
Ryan
-Original Message-
From: Ben Doom [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 7 January 2004 2:24 AM
To: CF-Talk
Subject: Re: Regex Help
With re
size is important.
>
> Thanks for your help.
>
> Ryan
>
> -Original Message-
> From: Ben Doom [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 7 January 2004 2:24 AM
> To: CF-Talk
> Subject: Re: Regex Help
>
> With regular expressions, it tends to much
Ben Doom wrote:
> Might I suggest wrapping chunks of code that produce no output (ie
> application.cfm, onrequestend.cfm, CFQUERY's, etc) in CFSILENT tags?
In addition, just before the tag (or the tag),
include a cfcontent with the reset attribute enabled. That will
reset the output buffer a
^(\w+([\.-]?\w+)[EMAIL PROTECTED]([\.-]?\w+)*(\.\w{2,3})+)?$
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
At 11:10 AM 1/20/2004 -0400, you wrote:
>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
Depending on what version of CF, I would recommend you go to cflib.org.
The site is down right now thoug
check the exchange or cflib when it is back up.
there are several tags/udfs that do this.
HTH,
Josh
---
Exciteworks -- expert hosting for less!
http://exciteworks.com
reseller plans available
Trevor Holm-Laursen wrote:
> Hey All,
>
> I'm Looking for Regex to validate that an email has an @
Trevor,
On 1/20/2004 at 10:10, you wrote:
THL> I'm Looking for Regex to validate that an email has an @ symbol and
THL> that there is no invalid character's
This has worked well for me:
function iswellformedemail(email){
if(refindnocase("^['_a-z0-9-]+(\.[_a-z0-9-]+)[EMAIL PROTECTED](\.
Actually, you're getting pretty close.
Assuming the "b0" bit is static
"\{\\b0 \{\\\*\\bkmkstart bookmark_name\}"
Untested, YMMV.
However, this doesn't use any of the magic of regex. In other words,
replace() will be faster on this than rereplace(). If "bookmark_name"
or "b0" was variab
Solved. The regex I'm using now is
\{\\b0 \{\\\*\\bkmkstart bookmark_name\}
Guess I was close.
Thanks though.
Shawn
-Original Message-
From: Shawn Grover [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 28, 2004 3:33 PM
To: CF-Talk
Subject: Regex Help?
I have routine
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'
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
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 C
Try this: (although I haven't tested it properly)
#this#
> -Original Message-
> From: Tony Schreiber [mailto:[EMAIL PROTECTED]]
> Sent: 12 September 2001 15:27
> To: CF-Talk
> Subject: SOT: Regex Help
>
>
> I get these text files that I process wi
"My ally is the Force, and a powerful ally it is." - Yoda
> -Original Message-
> From: Tony Schreiber [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 12, 2001 10:27 AM
> To: CF-Talk
> Subject: SOT: Regex Help
>
>
> I get these text files that I
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
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
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,
>
Probably easier to use listToArray(text, chr(10)) and then you can iterate
over the array (each element containing one line).
Cheers,
barneyb
> -Original Message-
> From: Ray Bujarski [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 22, 2004 10:56 AM
> To: CF-Talk
> Subj
1 - 100 of 319 matches
Mail list logo