How can I delete vowels from a String except the vowel at the end of word?
For example "Please come to my party"
To return "Plse cme to my prty"
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Reads: Match all vowels (
[aeiou]) that are not followed by an “end of word” (\\B). For more information read the Javadoc on java.util.regex.Pattern