RE: Regular Expression Hell

2006-08-16 Thread Ben Nadel
Not sure exactly what you are saying, but you can include white space in your regular expression: [^a-z\s] a-z : alphabet \s : special character means white space ... Ben Nadel www.bennadel.com -Original Message- From: Richard Colman [mailto:[EMAIL PROTECTED]

RE: Regular Expression Hell

2006-08-16 Thread Jake Churchill
Never done regexs with CF but you usually don't have to list all a-z, you just do [a-z] and I don't think the ^ needs to be inside the brackets because that is not a character unless it's escapted, it indicates to start at the beginning of the line. While this is a stab in the dark, I'd try

Re: Regular Expression Hell

2006-08-16 Thread Claude Schneegans
REREPLACENOCASE(form.AA_list, '[^abcdefghiklmnpqrstvwyz]','','all') Try REREPLACENOCASE(form.AA_list, '[^a-z]','','all') -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address:

RE: Regular Expression Hell

2006-08-16 Thread Ian Skinner
If I am reading the original post correctly, there are some letters that are allowed [abcdefghiklmnpqrstvwyz]. If that is correct one would be looking for [^a-ik-npq-tw-z/s]. But this assumes that your list wasn't just a typo and you really do not want to replace all lower case letters

Re: Regular Expression Hell

2006-08-16 Thread Charlie Griefer
i think he was doing a rereplaceNoCase() (i deleted the original and too lazy to check the archives)...in which case he wouldn't need to explicitly specify the upper and lowercase values :) On 8/16/06, Ian Skinner [EMAIL PROTECTED] wrote: If I am reading the original post correctly, there are

RE: Regular Expression Hell

2006-08-16 Thread Ian Skinner
Just so everybody posting [^a-z] as a suggestion, the original list does not contain all the letters. This may just be a typo, but the list 'abcdefghiklmnpqrstvwyz' does not contain the letters 'j', 'o' or 'u'. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org