Perfect ... thanks!

Paul Giesenhagen
QuillDesign
417-885-1375
http://www.quilldesign.com


----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: "CF-Talk" <cf-talk@houseoffusion.com>
Sent: Tuesday, March 28, 2006 2:06 AM
Subject: Re: Reg Expression to revome (most) punctuation


> Hi,
>
>> rereplacenocase(string, '[a-z0-9 ]+', '', 'all')
>> This will remove every occurences of a character
>> that is NOT within the range of A-Z (both cases),
>> 0-9 or a space.
>
> Actually this will remove only letters number and spaces... to negate the
> range., you need a caret:
> rereplacenocase(string, '[^a-z0-9 ]', '', 'all')
>
> But, you could also replace the punctuation class:
> reReplaceNoCase(string, '[[:punct:]]', '', 'all')
>
> HTH,
>
> Chris
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236312
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to