Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # remove_all_vowels_fastest.py
- import re
- def rmv_vwl(s):
- result = re.sub(r'[AEIOUY]', '', s, flags=re.IGNORECASE)
- return result
- print rmv_vwl('Python Is Quite Awesome !!! ABCDE abcde AaEeIiOoUuYy 123')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement