Removes Vowels for Web2.0 Apps


/ Published in: Python
Save to your folder(s)

New and improved regexp


Copy this code and paste it in your HTML
  1. def VowelRemovr(s):
  2. import re
  3. return re.sub('[aeiou]', '', s, re.I)

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.