Advertisement
Peaser

revowelrm

Oct 31st, 2014
307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.10 KB | None | 0 0
  1. import re
  2. t="text goes here mayn."
  3. print re.sub('[aeiou ]','',t)
  4. print re.sub('[^aeiou]| ','',t)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement