Regex - How can I achieve this ?

Posted by Rachel on Stack Overflow See other posts from Stack Overflow or by Rachel
Published on 2010-06-09T21:49:21Z Indexed on 2010/06/09 21:52 UTC
Read the original article Hit count: 334

Filed under:

I have regex as /^[a-zA-Z ]+$/ now I need to add support for unicode characters and so am using \p{L} like '/^[a-zA-Z ]+$\p{L}/'.

This is not working for me and I am not sure that this is correct way of using it. I am new to regex and would appreciate any guidance.

Thanks.

© Stack Overflow or respective owner

Related posts about regex