469,658 Members | 1,674 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,658 developers. It's quick & easy.

Regular expression for punctuation

Hi.

I am trying to define a regular expression that accepts letters and
punctuation characters. I read something about Posix where I could use
[:punct:] in order to accept all the punctuation characters, but I could
not find how to add this to my expression. My expression is a simple
[A-Za-z]. How can I make it accept all the punctuation characters also?

Regards,

Chris Leffer
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 17 '05 #1
0 1490

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Fuzzyman | last post: by
3 posts views Thread by Ryan Taylor | last post: by
2 posts views Thread by Brian Kitt | last post: by
Iasthaai
5 posts views Thread by Iasthaai | last post: by
18 posts views Thread by Lit | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.