Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import re
- t="text goes here mayn."
- print re.sub('[aeiou ]','',t)
- print re.sub('[^aeiou]| ','',t)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement