DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Regular Expression For WikiWords

04.07.2005
| 7544 views |
  • submit to reddit
        This RegEx should return all the Wiki Words (i.e. any word in Camel Case):

[^A-Za-z]*([A-Z][a-z]+[A-Z][a-z]+([A-Z][a-z]+)*)[^A-Za-z]*