House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

RegEx Help

  << Previous Post |  RSS |  Tree View |  Sort Latest First |  Subscribe to this Group Next >> 

RegEx Help

I've spent a lot of time on this and can't seem to get it right. Brad Roberts 05/22/2003 01:40 PM
[^A-Za-z0-9\._] Jerry Johnson 05/22/2003 01:48 PM
not A-Z, a-z, 0-9, period, and underscore =   [^A-Za-z0-9._] webguy 05/22/2003 01:50 PM
The regex would be Ben Doom 05/22/2003 02:00 PM
The reason mine was wrong was that I escaped the period when I didn't need to. Jerry Johnson 05/22/2003 02:10 PM
Awesome!  Thanks everyone! Brad Roberts 05/22/2003 02:20 PM

05/22/2003 01:40 PM
Author: Brad Roberts Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:24178#121624 I've spent a lot of time on this and can't seem to get it right. I need a regex that says the following: Find ANY character (including spaces) other than the following characters: A-Z, a-z, 0-9, period, and underscore. The problem with the ones I've created, is the regex would find a letter and return True, because the letter wasn't a number, period, or underscore.  I need it to find a character that is not any of the charcters listed above. Anyone care to help? -Brad
05/22/2003 01:48 PM
Author: Jerry Johnson Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:24178#121631 [^A-Za-z0-9\._] (The ^ in there says "anything but...) Jerry Johnson >>> cftalk@becomenew.com 05/22/03 01:35PM >>> I've spent a lot of time on this and can't seem to get it right. I need a regex that says the following: Find ANY character (including spaces) other than the following characters: A-Z, a-z, 0-9, period, and underscore. The problem with the ones I've created, is the regex would find a letter and return True, because the letter wasn't a number, period, or underscore.  I need it to find a character that is not any of the charcters listed above. Anyone care to help? -Brad
05/22/2003 01:50 PM
Author: webguy Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:24178#121633 not A-Z, a-z, 0-9, period, and underscore =   [^A-Za-z0-9._] WG
05/22/2003 02:00 PM
Author: Ben Doom Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:24178#121637 The regex would be [^A-Za-z0-9._] HTH. --  Ben Doom     Programmer & General Lackey     Moonbow Software, Inc : -----Original Message----- : : Sent: Thursday, May 22, 2003 1:36 PM : To: CF-Talk : Subject: RegEx Help : : : I've spent a lot of time on this and can't seem to get it right. : : I need a regex that says the following: : Find ANY character (including spaces) other than the following characters: : A-Z, a-z, 0-9, period, and underscore. : : The problem with the ones I've created, is the regex would find a : letter and : return True, because the letter wasn't a number, period, or underscore.  I : need it to find a character that is not any of the charcters listed above. : : Anyone care to help? : : -Brad : : :
05/22/2003 02:10 PM
Author: Jerry Johnson Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:24178#121644 The reason mine was wrong was that I escaped the period when I didn't need to. Always listen to Ben. Jerry Johnson >>> bdoom-hof@moonbow.com 05/22/03 01:51PM >>> The regex would be [^A-Za-z0-9._] HTH. --  Ben Doom     Programmer & General Lackey     Moonbow Software, Inc : -----Original Message----- : : Sent: Thursday, May 22, 2003 1:36 PM : To: CF-Talk : Subject: RegEx Help : : : I've spent a lot of time on this and can't seem to get it right. : : I need a regex that says the following: : Find ANY character (including spaces) other than the following characters: : A-Z, a-z, 0-9, period, and underscore. : : The problem with the ones I've created, is the regex would find a : letter and : return True, because the letter wasn't a number, period, or underscore.  I : need it to find a character that is not any of the charcters listed above. : : Anyone care to help? : : -Brad : : :
05/22/2003 02:20 PM
Author: Brad Roberts Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:24178#121654 Awesome!  Thanks everyone! -Brad ----- Excess quoted text cut - see Original Post for more -----
<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 18, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Designer, Developer and mobile workflow conference