Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python remove vowels from string

import re
s = "Insert your string here"
# this will look to upper- AND lower-case vowels
# this is equivalent to re.sub("[aeiouAEIOU]", "", s)
re.sub("[AEIOU]", "", s, re.IGNORECASE) 
>> "nsrt yr strng hr"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #remove #vowels #string
ADD COMMENT
Topic
Name
9+5 =