So far I have this regex code

/[^a-z\-\,\']|(\,.*\,)$/

which should check if a string is:
contains just alpha nocase,
one or more single spaces allowed,
apostrophe and dash allowed,
just one comma allowed

Unfortunately it doesn't work.
Any help cordially appreciated.

contiW
-- 
View this message in context: 
http://www.nabble.com/Help-with-RegEx-validation-...-tf3563487.html#a9953116
Sent from the Cold Fusion - RegEx mailing list archive at Nabble.com.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: http://www.houseoffusion.com/groups/RegEx/message.cfm/messageid:1034
Subscription: http://www.houseoffusion.com/groups/RegEx/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.21

Reply via email to