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 Sacrament

RE: Regular Expression Hell

2006-08-16 Thread Ian Skinner
I don't think the ^ needs to be inside the brackets because that is not a character unless it's escaped, it indicates to start at the beginning of the line. It has a different meaning inside of brackets []. Inside brackets it means NOT. So [a-z] is all lower case letters, [^a-z] is everything

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
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 [^a-z/s

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 Jake Churchill
, I'd try ^[a-z] Jake Churchill CF Web Tools [EMAIL PROTECTED] 402-408-3733 x103 -Original Message- From: Richard Colman [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 16, 2006 4:37 PM To: CF-Talk Subject: Regular Expression Hell Trying to replace everything that is NOT: ab

RE: Regular Expression Hell

2006-08-16 Thread Ben Nadel
lto:[EMAIL PROTECTED] Sent: Wednesday, August 16, 2006 5:37 PM To: CF-Talk Subject: Regular Expression Hell Trying to replace everything that is NOT: abcdefghiklmnpqrstvwyz with a blank (including white space, returns, etc.) Thought this would work, but it does not:

Regular Expression Hell

2006-08-16 Thread Richard Colman
Trying to replace everything that is NOT: abcdefghiklmnpqrstvwyz with a blank (including white space, returns, etc.) Thought this would work, but it does not: Help! Rick Colman ~| Introducing the Fusion Author