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
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
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
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
>>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:
, 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
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:
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
8 matches
Mail list logo