RE: Regular Expression and HTML

2004-06-03 Thread Pascal Peters
On mx: regexp = "<(?!/?(input|textarea|select|option)\b).*?>"; newtxt = REReplaceNoCase(txt,regexp,"","all"); > -Original Message- > From: jean-marc bottin [mailto:[EMAIL PROTECTED] > Sent: donderdag 3 juni 2004 16:06 > To: CF-Talk > Subject: Re: Regular _expression_ and HTML > > It wor

Re: Regular Expression and HTML

2004-06-03 Thread jean-marc bottin
It works, thank you. Jean-Marc [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re: Regular Expression and HTML

2004-06-03 Thread jean-marc bottin
It works, thank you very much. Jean-Marc [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

RE: Regular Expression and HTML

2004-06-03 Thread Pascal Peters
Add [^>]*> at the end of the regexp. If you are on mx, you can write a shorter regexp!! > -Original Message- > From: jean-marc bottin [mailto:[EMAIL PROTECTED] > Sent: donderdag 3 juni 2004 15:45 > To: CF-Talk > Subject: Regular _expression_ and HTML > > I got a RE that I have modified

Regular Expression and HTML

2004-06-03 Thread jean-marc bottin
I got a RE that I have modified in order to parse some HTML and to only keep tag starting with a “ I have some HTML:                                        a   b   c   d             After using the RE I get that: cellSpacing=0 cellPadding=0 width="100%" borde

RE: Help with Regular expression

2004-05-20 Thread Thanh Nguyen
Thanks, I figured it out. Thanh. -Original Message- From: Matthew Walker [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 19, 2004 7:38 PM To: CF-Talk Subject: RE: Help with Regular _expression_ Why not simply use replaceList(). Str = replaceList(str, ".,1st,2nd,3rd,4th,5th,6th,7th,8

RE: Help with Regular expression

2004-05-19 Thread Matthew Walker
Why not simply use replaceList(). Str = replaceList(str, ".,1st,2nd,3rd,4th,5th,6th,7th,8th,9th,10th,&", " ,first,second,third,fourth,fifth,sixth,seventh,eighth,ninth,tenth, and ") then str = reReplaceNoCase(str, "^The[[:space:]]", "") then str = reReplace(str, "[^[:alnum:][:space:]]", "", "all"

Help with Regular expression

2004-05-19 Thread Thanh Nguyen
Hi All, I tried to do this regular _expression_, but having a hard time getting the result I want. So any help would be appreciated. Here's what I tried to achieve. 1. remove "The" from in at the beginning of the string. 2. replace period with space. 3. Numerals are treated as though spell

RE: Regular Expression Help

2004-05-18 Thread Pascal Peters
On CFMX stTmp = REFindNoCase('msg:"(.*?)";',str,1,true); if(stTmp.pos[1]){ message = Mid(str,stTmp.pos[2],stTmp.len[2]); } else { message = ""; } ON CF5 stTmp = REFindNoCase('msg:"(([^"]|"[^;])*)";',str,1,true); if(stTmp.pos[1]){ message = Mid(str,stTmp.pos[2],stTmp.len[2]); } else { messag

RE: Regular Expression Help

2004-05-17 Thread Marlon Moyer
This should work. #mid(test,temp.pos[i],temp.len[i])# -- Marlon Moyer, Sr. Internet Developer American Contractors Insurance Group phone: 972.687.9445 fax: 972.687.0607 mailto:[EMAIL PROTECTED] www.acig.com > -Original Message- > From: Ian [mailto:[EMAIL PROTECTED] > Sent: Monday

Regular Expression Help

2004-05-17 Thread Ian
I'm trying to parse a string and pluck a bit of text, but my regex isn't working :( Here's a sample string: (msg:"My Message Here"; content:"My Content Here";) I want to return My Message Here. And here's my regex: refindnocase("msg:[[:print:]]+;", mystring) I'm using print as mystring may con

regular expression for line and paragraph breaks

2004-05-14 Thread Johnny Le
Hi, I am copying the text from MS Word to a coldfusion page. The text in MS Word is in a table of many cells. I am trying to re-recreate the table in ColdFusion using regular _expression_. #chr(10)# detects the end of a row. #chr(9)# detects the end of a cell. What characters would detect the line

RE: Regular Expression

2004-05-13 Thread Craig Dudley
Try treating the text a list with a cr/lf delimeter, and then tret each list item as another list with a delimeter of "=", OtherSrvLev=0w33a Category=31 "> setvariable( listgetat(i,1,"=") , listgetat(i,2,"=") ); -- In this case, you now ha

RE: Regular expression help

2004-02-17 Thread Pascal Peters
regexp = "##[[:space:]]*([0-9]{2-3})"; stTmp = REFindNoCase(regexp,str,1,true); if(stTmp.pos[1]) result = Mid(str,stTmp.pos[2],stTmp.len[2]); else result = ""; If you need to find all, you do it in a loop: regexp = "##[[:space:]]*([0-9]{2-3})"; results = ArrayNew(1); start = 1; while(true){

RE: Regular expression help

2004-02-16 Thread Matthew Walker
How about this? #mid(myString, result.pos[2], result.len[2])# -Original Message- From: Andy Ousterhout [mailto:[EMAIL PROTECTED] Sent: Tuesday, 17 February 2004 11:05 a.m. To: CF-Talk Subject: Regular _expression_ help What regular _expression_ would find a "#" followe

Regular expression help

2004-02-16 Thread Andy Ousterhout
What regular _expression_ would find a "#" followed by any number of blanks, followed by 2-3 numbers For example, I want to return 45 from this string: Testing this string # 45 to 46 Andy [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re: Rereplace with regular expression not working as I had hoped.

2004-01-12 Thread Ben Doom
You need to 'remember' the character grabbed by the dot in a backreference: rereplace(string, "(.)/(.)", "\1 / \2", "all"); That should take care of you.  If you have any more questions, we might want to move to CF-Regex (available via the HoF archives if you don't want to subscribe). --Ben Do

Re: Rereplace with regular expression not working as I had hoped.

2004-01-09 Thread Jerry Johnson
You need to grab the S from DOGS and the C from Cats that you are replacing. For example: the () around the dots grabs those values. The \1 and \2 put them back in. Does that make sense? Jerry Johnson >>> [EMAIL PROTECTED] 01/09/04 02:05PM >>> Hi all, Here is a quick one for you. I hav

Rereplace with regular expression not working as I had hoped.

2004-01-09 Thread DURETTE, STEVEN J (AIT)
Hi all, Here is a quick one for you. I have a Variable that I am trying to do a rereplace on and it isn't working as I expected. Here is the code: "All")> I was hoping that it would convert: DOGS/CATS TO: DOGS / CATS but it returns: DOG. / .ATS I also tried it with the replacement s

Re: OT: Regular Expression

2004-01-05 Thread Jochem van Dieten
Kevin Marino wrote: > From: Jochem van Dieten [mailto:[EMAIL PROTECTED] >>>"Information","scheduler-0","12/29/03","15:41:19",,"Mail: 'Report Examines >>>U.S. Long-Term Care Spending' From:'John Noone <[EMAIL PROTECTED]>' >>>To:'[EMAIL PROTECTED]' was successfully sent using 192.168.5.186" >>>"Inf

RE: OT: Regular Expression

2004-01-05 Thread Kevin Marino
-Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Saturday, January 03, 2004 2:42 PM To: CF-Talk Subject: Re: OT: Regular _expression_ Kevin Marino wrote: > > "Information","scheduler-0","12/29/03","15:41:19",,"Mail: 'Report Examines > U.S. Long-Term Care Spendin

Re: OT: Regular Expression

2004-01-03 Thread Jochem van Dieten
Kevin Marino wrote: > > "Information","scheduler-0","12/29/03","15:41:19",,"Mail: 'Report Examines > U.S. Long-Term Care Spending' From:'John Noone <[EMAIL PROTECTED]>' > To:'[EMAIL PROTECTED]' was successfully sent using 192.168.5.186" > "Information","mailWorker-3","12/29/03","15:56:34",,"Mail:

OT: Regular Expression

2004-01-02 Thread Kevin Marino
I have built a regEx parse the following lines, these are from the CF mailsent.log "Information","scheduler-0","12/29/03","15:41:19",,"Mail: 'Report Examines U.S. Long-Term Care Spending' From:'John Noone <[EMAIL PROTECTED]>' To:'[EMAIL PROTECTED]' was successfully sent using 192.168.5.186" "Infor

Re: Java Regular Expression editor

2003-11-17 Thread peter . tilbrook
Indeed, thank you Dave! Peter Tilbrook Transitional Services - Enterprise eSolutions Centrelink (http://www.centrelink.gov.au) 2 Faulding Street Symonston ACT 2609 Tel: (02) 62115927  

Re: Java Regular Expression editor

2003-11-17 Thread Dave Carabetta
> Can anyone remember where I can grab that cool Java-based RegEx editor? > This what you're looking for? http://www.cfregex.com/ Regards, Dave. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Java Regular Expression editor

2003-11-17 Thread peter . tilbrook
Can anyone remember where I can grab that cool Java-based RegEx editor? TIA! Peter Tilbrook Transitional Services - Enterprise eSolutions Centrelink (http://www.centrelink.gov.au) 2 Faulding Street Symonston ACT 2609 Tel: (02) 62115927 Important:  This e-mail is intended for the use of the ad

Re: I'm gonna need some regular expression help here...

2003-10-13 Thread Ben Doom
I use: ^[a-zA-Z]([.]?([[:alnum:]_-]+[.]?)*[[:alnum:]_-])?@([[:alnum:]\-_]+\.)+[a-zA-Z]{2,4}$ which, admittedly, won't allow .museum addresses, but will match most common emails. --Ben Doom Thomas Chiverton wrote: > On Monday 13 Oct 2003 17:01 pm, Ben Doom wrote: >  > replace each of aero, coop,

Re: I'm gonna need some regular expression help here...

2003-10-13 Thread Thomas Chiverton
On Monday 13 Oct 2003 17:01 pm, Ben Doom wrote: > replace each of aero, coop, info, museum, and name with EVERY  POSSIBLE > CAPITALIZATION POSSIBILITY. Or alternatively, don't bother checking the TLD against a static list, because eventualy a new one will crop up, and you'll wind people up who ha

Re: I'm gonna need some regular expression help here...

2003-10-13 Thread Ben Doom
This regex was intended to be used with a case-insensitive regular _expression_ checker.  To make it case insensitive, there are two things you'll have to do. replace a-z in brackets with a-zA-Z replace each of aero, coop, info, museum, and name with EVERY  POSSIBLE CAPITALIZATION POSSIBILITY.

RE: I'm gonna need some regular expression help here...

2003-10-13 Thread Bosky, Dave
Here's a nice little _expression_ I use. var chkEmail = /^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{ 2})?)$/i; if ((form.Email.value.length < 6 ) || (chkEmail.test(form.Email.value) == false)) {   var msg  = "Email address entry error!\n\nPlease a valid email

I'm gonna need some regular expression help here...

2003-10-13 Thread Jeff
Got a cfinput, it's required, and the validation is a regular _expression_. The Problem: The regular _expression_ isn't allowing a capital letter after the '@'. I'm sure there are other faults with this regular _expression_, but you see...I'm just not "there" yet when it comes to troubleshooting t

RE: Why am I getting "Bad regular expression"

2003-10-10 Thread Jerry Johnson
I don't think the number is a hard constant, so be careful. I usually break my string into roughly 10K chunks (broken on nearest LF) Jerry Johnson >>> [EMAIL PROTECTED] 10/10/03 02:35PM >>> I think I've figured it out and Jerry is pretty much right on... When the string I'm searching through ha

Re: Why am I getting "Bad regular expression"

2003-10-10 Thread Ben Doom
That would be my guess.  Run it on a small string.  If it works, that's your problem.  If it still returns "bad regular _expression_" we'll take a closer look. --Ben "Number One Ninja" Doom Jerry Johnson wrote: > My bet would be that your string X is too long. > > CF 5 has a known limitation

RE: Why am I getting "Bad regular expression"

2003-10-10 Thread Jon Block
I think I've figured it out and Jerry is pretty much right on... When the string I'm searching through has 20485, the regex works. When the string has 20486, I get the "bad regular _expression_" message. Thanks, Jon -Original Message- From: Jerry Johnson [mailto:[EMAIL PROTECTED] Sent: Fr

Re: Why am I getting "Bad regular expression"

2003-10-10 Thread Jerry Johnson
My bet would be that your string X is too long. CF 5 has a known limitation of something like 22,000 bytes. Longer strings throw this error. I think. Any ninjas around to correct me? Jerry Johnson >>> [EMAIL PROTECTED] 10/10/03 01:39PM >>> I'm trying to write an _expression_ that will remove a

RE: Why am I getting "Bad regular expression"

2003-10-10 Thread Nathan Strutz
Try escaping your dashes, the RegEx engine sometimes gets confused, like I know [a-z-A-Z] will freak it out, you have to put those dashes at the end. In fact, for a test, take the dashes out completely to see if that may be the problem, then try different ways of putting them back in, like [-]{2} o

Why am I getting "Bad regular expression"

2003-10-10 Thread Jon Block
I'm trying to write an _expression_ that will remove any SHTML include tags. I am getting a "bad regular _expression_" error from cf5. What is wrong? Thanks, Jon _expression_: "", "", "ALL")> [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

RE: Regular Expression find end of line / carriage return and replace

2003-09-26 Thread Mark W. Breneman
That is embarssing!!!Guess I assumed that it could not be that EZ and that you needed to usea Regular _expression_.Oh well, that was my one way too simple question for the year. Too bad Iam way over my limit on those. :-)  Must be late Friday.Thanks!Mark W. Breneman-Cold Fusion Developer-Network Ad

Re: Regular Expression find end of line / carriage return and replace

2003-09-26 Thread Calvin Ward
In CF Studio, you can use Extended Find and Replace and put your carriage return in the top, and your comma in the bottom and it should work.- Calvin  - Original Message -   From: Mark W. Breneman   To: CF-Talk   Sent: Friday, September 26, 2003 4:25 PM  Subject: Regular _expression_ find e

RE: Regular Expression find end of line / carriage return and replace

2003-09-26 Thread Jeff Beer
Hi Mark, No need for a regex unless I completely misread your question. In CFS, go to Search-->Extended Replace in the 'Find What' field, literally hit the enter key pop a comma in the 'replace with' field let 'er rip. umm... make sure "current document" is selected :) -Original Message-Fr

Regular Expression find end of line / carriage return and replace

2003-09-26 Thread Mark W. Breneman
Ok, I finally broke down and I have to ask this question.How do you do a simple find end of line / carriage return and replacewith a "," in CF studio?I have tried to look this up several times and found myself using ultraedit just to get it done, a few mins later. Thanks.Mark W. Breneman-Cold Fusio

Re: Regular Expression Help

2003-09-26 Thread Claude Schneegans
>>Ok basically I want to remove everything from althoughit will be different on every line.This is tipically the situation why I developed CF_REextract (seehttp://www.contentbox.com/claude/customtags/tagstore.cfm?p=hf(see specs and examples)The tag will find all occurences, and return then in a qu

Re: Regular Expression Help

2003-09-26 Thread Ben Doom
What version of CF?--Ben "the RegEx Ninja" Doomkelly wrote:>   Ok I suck at reg expressions.   Basically I have some data and within the> data there is some stuff I want to remove.  Example> > text text blah">http://www.blah.com">blah ">http://www.blah.com">blah> > blah blah blah text text> >

Regular Expression Help

2003-09-26 Thread kelly
Ok I suck at reg expressions.   Basically I have some data and within the data there is some stuff I want to remove.  Example text text blah">http://www.blah.com">blah blah blah blah text text Ok basically I want to remove everything from although it will be different on every line. So I need cod

Repost: Regular Expression Help

2003-08-14 Thread Patricia G . L . Hall
I tried to post this yesterday from the archives and I screwed it up. So.. reposting. I am dealing with a site that has been ripped apart by search and replace in Homesite+. Tags that used to look like:   stripped off of the and now look like this: ]*< Can anyone help me

Re: Repost: Regular Expression Help

2003-08-12 Thread Patricia G . L . Hall
> index.cfm?method=threads&forumid=21 > > HTH. > > > -- Ben Doom > Programmer & General Lackey > Moonbow Software, Inc > > : -Original Message- > : From: Patricia G. L. Hall [mailto:[EMAIL PROTECTED] > : Sent: Friday, August 08, 2003 8:41 A

RE: Repost: Regular Expression Help

2003-08-09 Thread Ben Doom
l Message- : From: Patricia G. L. Hall [mailto:[EMAIL PROTECTED] : Sent: Friday, August 08, 2003 8:41 AM : To: CF-Talk : Subject: Repost: Regular Expression Help : : : I tried to post this yesterday from the archives and I screwed it up. : So.. reposting. : : I am dealing with a site that has

Re: regular expression question

2003-08-01 Thread Michael Dinowitz
to write the regular expression to find 2 out of three > words in a row? I need to determine is a string has "and or" or "not and" > etc in the string. > > Thanks > ~| Archives: http://www.houseoffusi

regular expression question

2003-08-01 Thread Jason Rogoz
does anyone know how to write the regular expression to find 2 out of three words in a row? I need to determine is a string has "and or" or "not and" etc in the string. Thanks ~| Archives: http://www.houseo

RE: Visual Regular Expression tool

2003-07-24 Thread webguy
C++ via the Trolltechs QT framework. WG -Original Message- From: fred fred [mailto:[EMAIL PROTECTED] Sent: 24 July 2003 03:05 To: CF-Talk Subject: Re: Visual Regular Expression tool what language is this written in? It looks like a GUI version of text2reg. http

Re: Visual Regular Expression tool

2003-07-23 Thread fred fred
on: http://www.coolfusion.com/imssecomparison.cfm > > - Original Message - > From: "Michael Dinowitz" > To: "CF-Talk" > Sent: Tuesday, July 15, 2003 6:26 PM > Subject: Visual Regular Expression tool > > > > Download it now: > > http://www.cfr

Re: Visual Regular Expression tool

2003-07-16 Thread Jim Campbell
FYI - runs great on XP Pro. Thanks! - Jim Michael Dinowitz wrote: >No clue. here's the direct link: >http://www.cfregex.com/visualregex/kregexpeditor.zip >There's no security on the directory and nothing that can stop it from being >downloaded. >If it was on the HoF server then I can understand

RE: XP issue was RE: Visual Regular Expression tool

2003-07-16 Thread webguy
-Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: 16 July 2003 11:26 To: CF-Talk Subject: Re: XP issue was RE: Visual Regular Expression tool It looks like it was a security problem on the original zip file. I've uploaded a new one. Please try it out and see

Re: XP issue was RE: Visual Regular Expression tool

2003-07-16 Thread Critz
; Do you XP users that are having problems got >> >> MSVCRT.DLL on your machines? >> >> WG >> >> -Original Message- >> From: Michael Dinowitz [mailto:[EMAIL PROTECTED] >> Sent: 16 July 2003 03:33 >> To: CF-Talk >> Subject: Re: Vis

Re: XP issue was RE: Visual Regular Expression tool

2003-07-16 Thread Michael Dinowitz
rom: Michael Dinowitz [mailto:[EMAIL PROTECTED] > Sent: 16 July 2003 03:33 > To: CF-Talk > Subject: Re: Visual Regular Expression tool > > > No clue. here's the direct link: > http://www.cfregex.com/visualregex/kregexpeditor.zip > There's no security on the directory an

XP issue was RE: Visual Regular Expression tool

2003-07-16 Thread webguy
Do you XP users that are having problems got MSVCRT.DLL on your machines? WG -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: 16 July 2003 03:33 To: CF-Talk Subject: Re: Visual Regular Expression tool No clue. here's the direct link: http://www.cfrege

Re: Visual Regular Expression tool

2003-07-15 Thread Michael Dinowitz
:) > You should include license info in the ZIP. > > Thanks, > > Howie > > - Original Message - > From: "Michael Dinowitz" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Tuesday, July 15, 2003 11:17 PM > Su

Re: Visual Regular Expression tool

2003-07-15 Thread Howie Hamlin
You should include license info in the ZIP. Thanks, Howie - Original Message - From: "Michael Dinowitz" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, July 15, 2003 11:17 PM Subject: Re: Visual Regular Expression tool > G

Re: Visual Regular Expression tool

2003-07-15 Thread Michael Dinowitz
tp://www.sys-con.com/coldfusion/readerschoice2003/index.cfm <<<< > >>> Find out how iMS Stacks up to the competition: http://www.coolfusion.com/imssecomparison.cfm > > - Original Message - > From: "Michael Dinowitz" <[EMAIL PROTECTED]> > To:

Re: Visual Regular Expression tool

2003-07-15 Thread Howie Hamlin
l Dinowitz" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, July 15, 2003 6:26 PM Subject: Visual Regular Expression tool > Download it now: > http://www.cfregex.com > ~~~

Re: Visual Regular Expression tool

2003-07-15 Thread Critz
oi Michael!! oh sorry, I meant I get that when I try to run the exe on my copy of XP. ctz Tuesday, July 15, 2003, 10:33:04 PM, you wrote: MD> No clue. here's the direct link: MD> http://www.cfregex.com/visualregex/kregexpeditor.zip MD> There's no security

Re: Visual Regular Expression tool

2003-07-15 Thread Michael Dinowitz
:[EMAIL PROTECTED] > >Sent: Tuesday, July 15, 2003 7:33 PM > >To: CF-Talk > >Subject: Re: Visual Regular Expression tool > > > >No clue. here's the direct link: > >http://www.cfregex.com/visualregex/kregexpeditor.zip > >There's no security on the

RE: Visual Regular Expression tool

2003-07-15 Thread Chris Kief
I think he's talking about when he runs the executable. I'm receiving the same error on Windows XP Pro. chris >-Original Message- >From: Michael Dinowitz [mailto:[EMAIL PROTECTED] >Sent: Tuesday, July 15, 2003 7:33 PM >To: CF-Talk >Subject: Re: Visual Regular E

Re: Visual Regular Expression tool

2003-07-15 Thread Michael Dinowitz
No clue. here's the direct link: http://www.cfregex.com/visualregex/kregexpeditor.zip There's no security on the directory and nothing that can stop it from being downloaded. If it was on the HoF server then I can understand there being a problem. Since I put in some of the google stuff we've been

Re: Visual Regular Expression tool

2003-07-15 Thread Critz
oi Michael!! I get a "windows cannot access the specified device,path or file. You may not have the appropriate permissions to access the item" WTF? Ctz Tuesday, July 15, 2003, 6:26:35 PM, you wrote: MD> Download it now: MD> http://www.cfregex.com MD>

Visual Regular Expression tool

2003-07-15 Thread Michael Dinowitz
Download it now: http://www.cfregex.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.

RE: SOT: Regular Expression

2003-01-23 Thread Ryan Emerle
9:27 AM To: CF-Talk Subject: SOT: Regular Expression Are there any resources / tutorials / tools / Cftags / UDF / CFC's / functions that would allow a plain-text string to be converted to ASCII HTML code? (ie, A = A and s

SOT: Regular Expression

2003-01-23 Thread Mark Leder
Are there any resources / tutorials / tools / Cftags / UDF / CFC's / functions that would allow a plain-text string to be converted to ASCII HTML code? (ie, A = A and so on) Thanks, Mark ~| Archives: http://www.houseoffusion.co

RE: Regular expression question

2002-12-23 Thread Jerry Johnson
it has a name :-) --Ben Doom Programmer & General Lackey Moonbow Software : -Original Message- : From: Jerry Johnson [mailto:[EMAIL PROTECTED]] : Sent: Monday, December 23, 2002 2:29 PM : To: CF-Talk : Subject: Re: Regular expression question : : : if you are too lazy t

RE: Regular expression question

2002-12-23 Thread Ben Doom
MAIL PROTECTED]] : Sent: Monday, December 23, 2002 2:29 PM : To: CF-Talk : Subject: Re: Regular expression question : : : if you are too lazy to try Ray's suggestion (as I often am), : something like this might get you there. : : : : (Of course, this assumes there was an email to find, other

RE: Regular expression question

2002-12-23 Thread Jerry Johnson
: From: Lofback, Chris [mailto:[EMAIL PROTECTED]] : Sent: Monday, December 23, 2002 2:05 PM : To: CF-Talk : Subject: RE: Regular expression question : : : Hmm. I like this more-concise method, but I only get the last : character of : the user ID rather than the full user ID. For example, I use this...

Re: Regular expression question

2002-12-23 Thread Jerry Johnson
if you are too lazy to try Ray's suggestion (as I often am), something like this might get you there. (Of course, this assumes there was an email to find, otherwise emailAddress=blockoftext) FWIW Jerry >>> [EMAIL PROTECTED] 12/23/02 11:22AM >>> Is there a way to return just the string that a

RE: Regular expression question

2002-12-23 Thread Raymond Camden
and a powerful ally it is." - Yoda > -Original Message- > From: Ben Doom [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 23, 2002 1:17 PM > To: CF-Talk > Subject: RE: Regular expression question > > > Yes, it's the greedy match that's getting you

RE: Regular expression question

2002-12-23 Thread Ben Doom
at the beginning of the string, you'll have a problem. HTH. --Ben Doom Programmer & General Lackey Moonbow Software : -Original Message- : From: Lofback, Chris [mailto:[EMAIL PROTECTED]] : Sent: Monday, December 23, 2002 2:05 PM : To: CF-Talk : Subject: RE: Regular

RE: Regular expression question

2002-12-23 Thread Lofback, Chris
Ste. C Clearwater, FL 33761 www.trxi.com > -Original Message- > From: Ben Doom [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 23, 2002 12:44 PM > To: CF-Talk > Subject: RE: Regular expression question > > > Or, if you prefer to simply return

RE: Regular expression question

2002-12-23 Thread Ben Doom
ssage- : From: Raymond Camden [mailto:[EMAIL PROTECTED]] : Sent: Monday, December 23, 2002 11:29 AM : To: CF-Talk : Subject: RE: Regular expression question : : : Add the 3rd and 4th optional args - the 3rd arg, where to start, should : be set to 1, and the 4th, is a boolean that specifies if y

RE: Regular expression question

2002-12-23 Thread Raymond Camden
ot; - Yoda > -Original Message- > From: Lofback, Chris [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 23, 2002 10:22 AM > To: CF-Talk > Subject: Regular expression question > > > Is there a way to return just the string that a REFind > matches? I'm trying to

Regular expression question

2002-12-23 Thread Lofback, Chris
Is there a way to return just the string that a REFind matches? I'm trying to pull an email address out of a block of text. I can find the beginning using this: REFindNoCase("['_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*\.(([a-z ]{2,3})|(aero|coop|info|museum|name))",BlockOfText) But I

RE: Regular Expression Help

2002-12-06 Thread Ben Doom
il in error please delete it immediately and : advise us by return e-mail to [EMAIL PROTECTED] : : * : : : -Original Message- : From: Jeff D. Chastain [mailto:[EMAIL PROTECTED]] : Sent: Friday, December 06,

RE: Regular Expression Help

2002-12-06 Thread Jeff D. Chastain
#x27; which was not expected. The string 'some phrase' really is just that without any extra spaces. Either way, the first method works just fine and is probably safer. -Original Message- From: Joshua Miller [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 12:30 PM To: CF-

RE: Regular Expression Help

2002-12-06 Thread Joshua Miller
error please delete it immediately and advise us by return e-mail to [EMAIL PROTECTED] * -Original Message- From: Jeff D. Chastain [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 1:03 PM To: CF-T

RE: Regular Expression Help

2002-12-06 Thread Jeff D. Chastain
Yep, this is probably the safest bet and produces the expected result. Thanks -Original Message- From: Rob Rohan [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 11:54 AM To: CF-Talk Subject: RE: Regular Expression Help lastly, you could think backwards [^A-Za-z0-9] Rob

RE: Regular Expression Help

2002-12-06 Thread Jeff D. Chastain
hrase' returns '_some_phrase_' instead of 'some_phrase' which is what I was looking for. Thanks -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 11:54 AM To: CF-Talk Subject: RE: Regular Expression Help What is a n

RE: Regular Expression Help

2002-12-06 Thread Joshua Miller
PROTECTED] * -Original Message- From: Rob Rohan [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 12:54 PM To: CF-Talk Subject: RE: Regular Expression Help lastly, you could think backwards [^A-Za-z0-9]

RE: Regular Expression Help

2002-12-06 Thread Raymond Camden
"My ally is the Force, and a powerful ally it is." - Yoda > -Original Message- > From: Jeff D. Chastain [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 06, 2002 11:53 AM > To: CF-Talk > Subject: RE: Regular Expression Help > > > How do you not r

RE: Regular Expression Help

2002-12-06 Thread Rob Rohan
; From: Joshua Miller [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 06, 2002 11:43 AM > To: CF-Talk > Subject: RE: Regular Expression Help > > > Oh, forgot the space use "[[:punct:]]||[[:space:]]" as the RegEX > > Joshua Miller > Head Programmer / IT

RE: Regular Expression Help

2002-12-06 Thread Teel, C. Doug
I think you accidentally doubled the pipes between the punct and space. It should be: [[:punct:]]|[[:space:]] Thanks, Doug -Original Message- From: Joshua Miller [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 11:43 AM To: CF-Talk Subject: RE: Regular Expression Help Oh

RE: Regular Expression Help

2002-12-06 Thread Jeff D. Chastain
How do you not replace a non-existent space before and after the string? Everything else works great. Thanks -Original Message- From: Joshua Miller [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 11:43 AM To: CF-Talk Subject: RE: Regular Expression Help Oh, forgot the space

RE: Regular Expression Help

2002-12-06 Thread Raymond Camden
shua Miller [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 06, 2002 11:43 AM > To: CF-Talk > Subject: RE: Regular Expression Help > > > Oh, forgot the space use "[[:punct:]]||[[:space:]]" as the RegEX > > Joshua Miller > Head Programmer / IT Manager &

RE: Regular Expression Help

2002-12-06 Thread Jeff D. Chastain
That was what I was looking for, I just had not found it yet. Thanks -Original Message- From: Joshua Miller [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 11:42 AM To: CF-Talk Subject: RE: Regular Expression Help ReReplaceNoCase(string,"[[:punct:]]","_&

RE: Regular Expression Help

2002-12-06 Thread Raymond Camden
CTED]] > Sent: Friday, December 06, 2002 11:31 AM > To: CF-Talk > Subject: Regular Expression Help > > > I am trying to use a regular expression to change all > possible special characters in a string to underscores > because I am trying to use the string as a variable na

RE: Regular Expression Help

2002-12-06 Thread Mike Townend
Something like HTH -Original Message- From: Jeff D. Chastain [mailto:[EMAIL PROTECTED]] Sent: Friday, December 6, 2002 17:31 To: CF-Talk Subject: Regular Expression Help I am trying to use a regular expression to change all possible special characters in a string to underscores

RE: Regular Expression Help

2002-12-06 Thread Joshua Miller
PROTECTED] * -Original Message- From: Jeff D. Chastain [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 12:31 PM To: CF-Talk Subject: Regular Expression Help I am trying to use a regular expression to change all possible special chara

RE: Regular Expression Help

2002-12-06 Thread Joshua Miller
urn e-mail to [EMAIL PROTECTED] * -Original Message- From: Jeff D. Chastain [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 12:31 PM To: CF-Talk Subject: Regular Expression Help I am trying to use a regular expression to change all possible special charact

Regular Expression Help

2002-12-06 Thread Jeff D. Chastain
I am trying to use a regular expression to change all possible special characters in a string to underscores because I am trying to use the string as a variable name. Regular expressions are not my specialty and I am running into problems using some characters in my reReplace function. Could

Regular Expression cfform validation

2002-09-19 Thread Bryan F. Hogan
I want to make sure that no special characters are entered into my form before submitting. What is the syntax for the regular expression to put within the pattern attribute of the form tag. __ Get the mailserver that powers

Re: regular expression help

2002-07-09 Thread Michael Dinowitz
> > What I'd like to do is automatically strip out any other HTML tag (or > JavaScript, CSS, DHTML, etc.) from the submission but leave the safe tags. > I'm thinking that using a regular expression string to do this would be the > way to go, however there is something to cons

RE: regular expression help

2002-07-09 Thread Tangorre, Michael
t all. For what that's worth... Mike -Original Message- From: Mark Warrick [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 3:50 PM To: CF-Talk Subject: regular expression help Hello, I've got a form field in which I want to allow people to enter HTML tags (formatted

regular expression help

2002-07-09 Thread Mark Warrick
cally strip out any other HTML tag (or JavaScript, CSS, DHTML, etc.) from the submission but leave the safe tags. I'm thinking that using a regular expression string to do this would be the way to go, however there is something to consider about that idea. The data ends up in an NTEXT field in th

Re: Regular Expression

2002-07-07 Thread Michael Dinowitz
tion will return 0 (failure). There's a tutorial on RegEx at www.houseoffusion.com on the front page. > I want to do a regular expression validation on a form field (city). > However, I'm rather unfamiliar with regular expressions. > > How would I rewrite the expre

<    1   2   3   4   5   >