This content has been marked as final. Show 2 replies
Hi and welcome
Use the CODE tags when posting code [http://wikis.sun.com/display/SunForums/Tips]
String regex1 = "[aeiou]";
The plus means "one or more of the preceding pattern", so it will match a string of vowels, not just a single one.