regex help needed

2003-06-03 Thread Michael Tangorre
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:

RE: regex help needed

2003-06-03 Thread Barney Boisvert
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

Re: regex help needed

2003-06-03 Thread Michael Tangorre
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

Re: regex help needed

2003-06-03 Thread Donnie Bachan
] 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

RE: RegEx Help! (more detail)

2003-03-20 Thread Oliver Cookson
help would be appreciated. :) Oliver : -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! : Do you mean this string is part of a larger text? Use: : cfset text

RE: RegEx Help! (more detail)

2003-03-20 Thread Pascal Peters
[mailto:[EMAIL PROTECTED] Sent: donderdag 20 maart 2003 10:43 To: CF-Talk Subject: RE: RegEx Help! (more detail) Hi Jochem, Thanks for the reply (and the others who replied too!). Ok let me explain myself a little better. I am outputting a page of text and if the user chooses to turn off

RE: RegEx Help! (more detail)

2003-03-20 Thread Ben Doom
: Thursday, March 20, 2003 4:43 AM : To: CF-Talk : Subject: RE: RegEx Help! (more detail) : : : Hi Jochem, : : : : Thanks for the reply (and the others who replied too!). : : : : Ok let me explain myself a little better. I am outputting a page of : text : : and if the user chooses to turn off

RE: RegEx Help! (more detail)

2003-03-20 Thread Pascal Peters
. The remark about the parens is correct, but I already corrected that. -Original Message- From: Ben Doom [mailto:[EMAIL PROTECTED] Sent: donderdag 20 maart 2003 16:02 To: CF-Talk Subject: RE: RegEx Help! (more detail) cf_homerDoh!/cf_homer I think I see the problem -- the parens. We must

RE: RegEx Help! (more detail)

2003-03-20 Thread Ben Doom
PROTECTED] : Sent: Thursday, March 20, 2003 10:33 AM : To: CF-Talk : Subject: RE: RegEx Help! (more detail) : : : As I wrote in my previous mail, this will not work if you have more than : one link in the text. Adding ALL when using a regexp that matches : start and end (^...$) is pointless, as you can have

RE: RegEx Help! (more detail)

2003-03-20 Thread Ryan Emerle
an occurance --- cfset text=REReplaceNoCase(text,(.*)a[^]+href=javascript:popUpJargonDefinition\([0-9]+\)([^]+)/a(.*),\1\2\3) /cfloop HTH -Ryan -Original Message- From: Pascal Peters [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 10:33 AM To: CF-Talk Subject: RE: RegEx Help! (more

SOT: RegEx Help!

2003-03-14 Thread Oliver Cookson
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

Re: SOT: RegEx Help!

2003-03-14 Thread Jochem van Dieten
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

RE: RegEx Help!

2003-03-14 Thread Andre Mohamed
Oliver, Try something like this: cfset yourNewString = ReReplaceNoCase(yourOldString, [^]*, , 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

RE: RegEx Help!

2003-03-14 Thread Hugo Ahlenius
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 ~|

RE: SOT: RegEx Help!

2003-03-14 Thread Ben Doom
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

RegEx Help!

2003-03-14 Thread Oliver Cookson
That works great but it also removes other links which start with A HREF=foo.htmlsome text/A. I need it to remove links that start with A CLASS=jargon I currently have: reReplaceNoCase(stringIn, [^]*, , ALL) Cheers ~|

Re: SOT: RegEx Help!

2003-03-14 Thread Dave Lyons
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

RE: RegEx Help!

2003-03-14 Thread Ben Doom
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 : A HREF=foo.htmlsome text/A. : : I need

Re: SOT: RegEx Help!

2003-03-14 Thread Jochem van Dieten
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

RE: SOT: RegEx Help!

2003-03-14 Thread Ben Doom
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

Regex Help

2002-10-22 Thread Chris Alvarado
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

RE: Regex Help

2002-10-22 Thread Ben Doom
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, it gets a bit more complicated

Re: Regex Help

2002-10-22 Thread Gyrus
- 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 after the ending

SoEditor and RegEx help

2002-10-21 Thread Brook Davies
Hello, I'm using the SoEditor wyiwyg Editor and I need some help with a regular expression. The Soeditor when it is initially loaded prepopulates the text area with some basic html. Head and body tags etc. The problem I'm having with this is that if a user does not enter anything, it still

Re: SoEditor and RegEx help

2002-10-21 Thread Brook Davies
Thanks for your quick replies quys, all code answers, I'll give them each a try and see whats best. I am aware that you can simply exclude the pageedit tag within the SoEditor, but then it also strips out any user added header and html info, which doesn't work so well. Brook At 03:06 PM

RE: SoEditor and RegEx help

2002-10-21 Thread Ben Doom
Doom Programmer General Lackey Moonbow Software : -Original Message- : From: Brook Davies [mailto:brook;maracasmedia.com] : Sent: Monday, October 21, 2002 2:48 PM : To: CF-Talk : Subject: SoEditor and RegEx help : : : Hello, : : I'm using the SoEditor wyiwyg Editor and I need some

Re: SoEditor and RegEx help

2002-10-21 Thread Brook Davies
Okay, the HTMl code got cut out. How can you paste HTML code to this list? I'm trying again with the below: ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription:

Re: SoEditor and RegEx help

2002-10-21 Thread Matthew Walker
22, 2002 7:48 AM Subject: SoEditor and RegEx help Hello, I'm using the SoEditor wyiwyg Editor and I need some help with a regular expression. The Soeditor when it is initially loaded prepopulates the text area with some basic html. Head and body tags etc. The problem I'm having

Re: SoEditor and RegEx help

2002-10-21 Thread Matthew Walker
I could see the HTML in your message Matthew Walker http://www.matthewwalker.net.nz/ - Original Message - From: Brook Davies [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, October 22, 2002 7:54 AM Subject: Re: SoEditor and RegEx help Okay, the HTMl code got cut out

Re: SoEditor and RegEx help

2002-10-21 Thread Jerry Johnson
Not a direct answer to your question, but... Did you know you can turn off the automatic insertion of that HTML gobblygook? PageEditSets whether the html being edited includes the HTML, HEAD, and BODY elements. Set this attribute to true if you

RE: OT RegEx Help

2002-10-19 Thread Ben Doom
General Lackey Moonbow Software : -Original Message- : From: Jim Curran [mailto:jim_ml;nylontechnology.com] : Sent: Thursday, October 17, 2002 6:29 PM : To: CF-Talk : Subject: OT RegEx Help : : : Hello all, : : Simple Regex that I cannot decipher: : : String: : : br br br b class

Re: Regex help, again

2002-09-23 Thread Gyrus
- Original Message - From: Ian Lurie [EMAIL PROTECTED] Sorry to bug you again, but can you do a quick sanity check? I think this one works: h[^h]*h[0-9] --- Wouldn't that run into problems with h in text inside the tags? I suppose it'd have to be immediately

RE: Regex help, again

2002-09-23 Thread I-Lin Kuo
... -Original Message- From: Matthew Walker [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 22, 2002 10:26 PM To: CF-Talk Subject: RE: Regex help, again I'm guessing that you actually want h(anynum)(any text here)/h(anynum) ? You could use h[0-9]([^]*)/h[0-9] but that would

RE: Regex help, again

2002-09-23 Thread Alex
]] Sent: Sunday, September 22, 2002 10:26 PM To: CF-Talk Subject: RE: Regex help, again I'm guessing that you actually want h(anynum)(any text here)/h(anynum) ? You could use h[0-9]([^]*)/h[0-9] but that would only work where there are no HTML tags between the h tags

RE: Regex help, again

2002-09-23 Thread Ben Doom
- : From: Ian Lurie [mailto:[EMAIL PROTECTED]] : Sent: Monday, September 23, 2002 1:15 AM : To: CF-Talk : Subject: Regex help, again : : : I'm trying to pull all h(anynum)(any text here)/h. : : I've got: h[0-9] but can't seem to get the wildcard to work so : that I can : grab the entire element. : : Any

RE: Regex help, again

2002-09-23 Thread Ian Lurie
I found one that worked - thanks all of you for your help! h[^h]*h[0-9] -Original Message- From: Ben Doom [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 12:05 PM To: CF-Talk Subject: RE: Regex help, again Are you just worried about the first tag pair, or all of them

RE: regex help

2002-09-23 Thread Ben Doom
: cfset delimiters = '[:space:]' : cfif not refindnocase(^((and|or|not|filter+[0-9])*[#delimiters#]*)*$, : string) 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

RE: regex help

2002-09-22 Thread Brook
with the chars you want to disallow. HTH. --Ben Doom Programmer General Lackey Moonbow Software : -Original Message- : 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

Regex help, again

2002-09-22 Thread Ian Lurie
I'm trying to pull all h(anynum)(any text here)/h. I've got: h[0-9] 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

RE: Regex help, again

2002-09-22 Thread Matthew Walker
p.m. To: CF-Talk Subject: Regex help, again I'm trying to pull all h(anynum)(any text here)/h. I've got: h[0-9] but can't seem to get the wildcard to work so that I can grab the entire element. Any ideas? Ian

RE: Regex help, again

2002-09-22 Thread Ian Lurie
, 2002 10:26 PM To: CF-Talk Subject: RE: Regex help, again I'm guessing that you actually want h(anynum)(any text here)/h(anynum) ? You could use h[0-9]([^]*)/h[0-9] but that would only work where there are no HTML tags between the h tags. -Original Message- From: Ian Lurie [mailto

RE: Regex help, again

2002-09-22 Thread Matthew Walker
But I actually need what's between the hnum and /hnum and it DOES include HTML. Sigh... You can only do it in CFMX. CF5 uses greedy regex matching. If you simply wrote h[0-9](.*)/h[0-9] then you would match say the first h1 and the last /h1 in the doc. If there's only one, that would be

RE: Regex help, again

2002-09-22 Thread Ian Lurie
:[EMAIL PROTECTED]] Sent: Sunday, September 22, 2002 10:39 PM To: CF-Talk Subject: RE: Regex help, again But I actually need what's between the hnum and /hnum and it DOES include HTML. Sigh... You can only do it in CFMX. CF5 uses greedy regex matching. If you simply wrote h[0-9](.*)/h[0-9

regex help

2002-09-20 Thread Brook
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

Re: regex help

2002-09-20 Thread Alex
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

Re: regex help

2002-09-20 Thread 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 any

Re: regex help

2002-09-20 Thread S . Isaac Dealey
That's PERL right? ... CF is going to be slightly different... cfset otherchars = YesNoFormat(REFind([^(this|that| )],mystring)) I think is equivalent... If not... cfset otherchars = YesNoFormat(REFind([^(this|that| )],mystring)) Brook: you might find the [EMAIL PROTECTED] list helpful

RE: regex help

2002-09-20 Thread Ben Doom
], string) 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]] : Sent: Friday, September 20, 2002 1:39 PM : To: CF-Talk : Subject: regex

RE: regex help

2002-09-20 Thread Ben Doom
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 : Subject: Re: regex help : : : m/[^(this|that|\s)]/ig : : Anything

RE: regex help

2002-09-20 Thread S . Isaac Dealey
/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 : Subject: Re: regex help : : : m/[^(this|that|\s)]/ig : : Anything other than

RE: regex help

2002-09-20 Thread Alex
PROTECTED]] : Sent: Friday, September 20, 2002 1:47 PM : To: CF-Talk : Subject: Re: regex help : : : 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

RE: regex help

2002-09-20 Thread Ben Doom
: 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

Re: regex help

2002-09-20 Thread Dick Applebaum
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 efficient

SOT: Another Regex help request

2002-09-06 Thread Shawn Grover
I need to parse a javascript file for function names. I have a regex that will find the function MyName but I only want the MyName. Here's my regex (from memory, so I might not have it right): (?:function\s)\S*\( (which if my understanding is right means a non-grouping search for

Re: SOT: Another Regex help request

2002-09-06 Thread Jerry Johnson
Regex in what language? Where do the results need to go? If CF 5 or less, To just find the values: cfset fileContent=function MyName(sdfkgjslkdf)#chr(10)#fsd gj#chr(10)#;fkjl kg;ll;kszf kg;#chr(10)##chr(10)#;lafsk g;lkf #chr(10)#g#chr(10)#;#chr(10)##chr(10)#function

regex help - find a strings NOT IN tags

2002-08-29 Thread Mike Mertsock
Hi, I'm trying to develop a regular expression that will find occurances of a given string that is NOT inside any HTML tag. Right now i have something like ([^]*)?#stringToFind# This ends up finding _every_ occurance of #stringToFind#. And it also matches the beginning of any HTML tag. So

RegEx Help

2002-07-10 Thread Dave Carabetta
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,

Re: RegEx Help

2002-07-10 Thread Michael Dinowitz
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: RegEx Help I was wondering if I could get some

RE: RegEx Help

2002-07-10 Thread Ben Doom
: '^(+-)? *[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

RE: Regex help

2002-07-05 Thread David Siew
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): cfsavecontent variable=content This is some a href=test.cfm

REgex help

2002-07-05 Thread Douglas Brown
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

RE: REgex help

2002-07-05 Thread Ben Johnson
How would I write a expression to replace $2,345.00 with 2345 Here's one way to do it: cfset original = $2,345.00 cfset original = REReplace(original, [$,], , ALL) cfset original = Left(original, Find(original, .) - 1) That _should_ work. :) Ben Johnson

Re: REgex help

2002-07-05 Thread S . Isaac Dealey
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

RE: REgex help

2002-07-05 Thread Ken Beard
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 REReplace(listfirst

REGEX help

2002-06-03 Thread Ian Lurie
Someday I'll figure this out: I need to replace all characters from /head to the beginning of the string, inclusive. How do I do it? I tried: CFSET content = ReReplaceNoCase(content,*/HEAD,) But got nowhere... Ian Portent Interactive Helping clients build customer relationships on the web

RE: REGEX help

2002-06-03 Thread Matthew Walker
10:25 a.m. To: CF-Talk Subject: REGEX help Someday I'll figure this out: I need to replace all characters from /head to the beginning of the string, inclusive. How do I do it? I tried: CFSET content = ReReplaceNoCase(content,*/HEAD,) But got nowhere... Ian Portent

RE: REGEX help

2002-06-03 Thread Ian Lurie
Ah. I tried that before as *./head - 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't

Good Regex Book .....was.... [Re[2]: REGEX help]

2002-06-03 Thread Critz
- switching the two characters did the IL trick. IL Thanks! IL Any good sites/books out there about RegEx? IL -Original Message- IL From: Matthew Walker [mailto:[EMAIL PROTECTED]] IL Sent: Monday, June 03, 2002 3:44 PM IL To: CF-Talk IL Subject: RE: REGEX help IL You can't use * by itself

RegEx help...

2002-05-03 Thread Bryan Love
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

Regex Help

2002-01-18 Thread Troy Simpson
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? cfset sString = I1, TITLE1, I22, TITLE22, I333, TITLE333, I, TITLE cfset x =

Re: Regex Help

2002-01-18 Thread Jochem van Dieten
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? cfset sString = I1, TITLE1, I22, TITLE22, I333, TITLE333,

RegEx help

2002-01-11 Thread Bernd VanSkiver
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

RegEx Help

2001-12-13 Thread Bernd VanSkiver
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. IMG alt= src=aboutuson.jpg

Re: RegEx Help

2001-12-13 Thread Jochem van Dieten
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.

Re: RegEx Help

2001-12-13 Thread Don Vawter
:21 PM 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 also be different in each case

RE: RegEx Help

2001-12-13 Thread Bryan Love
day, that my child may have peace'... - Thomas Paine, The American Crisis -Original Message- From: Bernd VanSkiver [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 2:21 PM To: CF-Talk Subject: RegEx Help Got a Regular Expression problem that I can't figure out how

A little RegEx help . . .

2001-12-05 Thread Dave Hannum
I need to look and see if the second character of a three character string is a 0 (zero). How would I do that? CFIF (insert regex here) do something /CFIF8-) Thanks, Dave ~~ Your ad could be here. Monies from ads go to support these lists

RE: A little RegEx help . . .

2001-12-05 Thread Carlisle, Eric
cfif mid(variable,2,1) eq 0 EC -Original Message- From: Dave Hannum [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 12:43 PM To: CF-Talk Subject: A little RegEx help . . . I need to look and see if the second character of a three character string is a 0 (zero). How

Re: A little RegEx help . . .

2001-12-05 Thread Gyrus
I need to look and see if the second character of a three character string is a 0 (zero). How would I do that? CFIF REFind(.0., string) do something /CFIF - Gyrus ~~ Get the mailserver that powers this list at http://www.coolfusion.com

Re: A little RegEx help . . .

2001-12-05 Thread Alex
mid() On Wed, 5 Dec 2001, Dave Hannum wrote: I need to look and see if the second character of a three character string is a 0 (zero). How would I do that? CFIF (insert regex here) do something /CFIF8-) Thanks, Dave ~~ Your ad

Re: A little RegEx help . . .

2001-12-05 Thread Jamie Jackson
cfif mid(string, 3, 1) IS 0 Jamie On Wed, 5 Dec 2001 12:42:53 -0500, in cf-talk you wrote: I need to look and see if the second character of a three character string is a 0 (zero). How would I do that? CFIF (insert regex here) do something /CFIF8-) Thanks, Dave

RE: A little RegEx help . . .

2001-12-05 Thread Chris Wigginton
If it's always going to be a three character string, use the mid string function cfif Mid(theString, 2, 1) IS 0 -Original Message- From: Dave Hannum [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 11:43 AM To: CF-Talk Subject: A little RegEx help . . . I need to look

Re: A little RegEx help . . .

2001-12-05 Thread Jamie Jackson
rather: cfif mid(string, 2, 1) IS 0 misread your post. j On Wed, 05 Dec 2001 13:13:56 -0500, in cf-talk you wrote: cfif mid(string, 3, 1) IS 0 ~~ Structure your ColdFusion code with Fusebox. Get the official book at

Re: A little RegEx help . . .

2001-12-05 Thread Dave Hannum
Here is how I chose to do it. CFIF REFindNoCase('0', i) EQ 2 Dave - Original Message - From: Jamie Jackson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, December 05, 2001 2:41 PM Subject: Re: A little RegEx help . . . rather: cfif mid(string, 2, 1) IS 0 misread

Re: A little RegEx help . . .

2001-12-05 Thread Dave Hannum
I figured it out: CFIF REFindNoCase('0', string) EQ 2do something/CFIF Dave - Original Message - From: Dave Hannum [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, December 05, 2001 12:42 PM Subject: A little RegEx help . . . I need to look and see if the second

Re: A little RegEx help . . .

2001-12-05 Thread Jamie Jackson
', string) EQ 2do something/CFIF Dave - Original Message - From: Dave Hannum [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, December 05, 2001 12:42 PM Subject: A little RegEx help . . . I need to look and see if the second character of a three character string is a 0

Re: A little RegEx help . . .

2001-12-05 Thread cf refactoring
2do something/CFIF Dave - Original Message - From: Dave Hannum [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, December 05, 2001 12:42 PM Subject: A little RegEx help . . . I need to look and see if the second character of a three character string is a 0

RE: A little RegEx help . . .

2001-12-05 Thread Joel Parramore
FindNoCase(0,string) would work as well... Regards, Joel Parramore -Original Message- From: cf refactoring [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 4:11 PM To: CF-Talk Subject: Re: A little RegEx help . . . Dave H, Your answer CFIF REFindNoCase('0

Re: A little RegEx help . . .

2001-12-05 Thread Jamie Jackson
refactoring [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 4:11 PM To: CF-Talk Subject: Re: A little RegEx help . . . Dave H, Your answer CFIF REFindNoCase('0', string) EQ 2do something/CFIF isn't correct because you will get a TRUE for the string 012. You should use one

Re: A little RegEx help . . .

2001-12-05 Thread David Hannum \(Ohio University\)
You're right. Thanks, Dave - Original Message - From: cf refactoring [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, December 05, 2001 4:11 PM Subject: Re: A little RegEx help . . . Dave H, Your answer CFIF REFindNoCase('0', string) EQ 2do something/CFIF

SOT: Regex Help

2001-09-12 Thread Tony Schreiber
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

RE: Regex Help

2001-09-12 Thread Rich Wild
]] Sent: 12 September 2001 15:27 To: CF-Talk Subject: SOT: Regex Help 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

RE: Regex Help

2001-09-12 Thread Raymond Camden
:27 AM To: CF-Talk Subject: SOT: Regex Help 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

More RegEx Help

2001-07-27 Thread John Barleycorn
I seem to be having a problem searching for a space using RegEx. This is what i'm using: cfif REFindNoCase([[:Alpha:][:Punct:][ ]], myString) bad chars found /cfif 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.

RE: More RegEx Help

2001-07-27 Thread Bryan Love
Developer [EMAIL PROTECTED] -Original Message- From: John Barleycorn [mailto:[EMAIL PROTECTED]] Sent: Friday, July 27, 2001 9:56 AM To: CF-Talk Subject: More RegEx Help I seem to be having a problem searching for a space using RegEx

Re: More RegEx Help

2001-07-27 Thread Jamie Jackson
Don't you want something like this? cfif REFindNoCase(([[:Alpha:]]|[[:Punct:]]), myString) bad chars found /cfif (|) does alternation (like or) Jamie On Fri, 27 Jul 2001 16:56:22 +, in cf-talk you wrote: I seem to be having a problem searching for a space using RegEx. This is what

Re: More RegEx Help

2001-07-27 Thread Dain Anderson
] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, July 27, 2001 12:56 PM Subject: More RegEx Help I seem to be having a problem searching for a space using RegEx. This is what i'm using: cfif REFindNoCase([[:Alpha:][:Punct:][ ]], myString) bad chars found /cfif but it doesn't find any

Re: RegEx help PLEASE hurry...

2000-11-19 Thread David Cummins
Never mind, typos happen to the best of us (preferably not on live servers, though... ;) ) David Cummins Rob Keniger wrote: on 17/11/00 6:22 AM, David Cummins at [EMAIL PROTECTED] wrote: Firstly, I'm pretty sure you don't need to escape a space. Secondly, no question mark is

Re: RegEx help PLEASE hurry...

2000-11-16 Thread Michael Dinowitz
Try this REReplaceNoCase(string, '([a-z0-9]) ([a-z0-9])', '\1\2', 'all') This will look for a character followed by a space and then a character and replace it with the first and second character (without the space in between. Hello all I have a page of text that looks like this... H e l l

Re: RegEx help PLEASE hurry...

2000-11-16 Thread David Cummins
Firstly, I'm pretty sure you don't need to escape a space. Secondly, no question mark is required, because I want to replace exactly one character followed by exactly one space with just the character. And thirdly, you don't have to specify that the character is not a space, because a space

<    1   2   3   4   5   6   7   >