Dec 13, 2010

Java regexp for Unicode letters

Just to get this out there ...

Java regular expression for matching all Unicode letters:
Pattern p = Pattern.compile("\\p{L}*");

No comments:

Post a Comment