Regular expression for punctuation

C

Chris Leffer

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,734
Messages
2,569,441
Members
44,832
Latest member
GlennSmall

Latest Threads

Top