We can use the following code to match any lowercase vowel in the given string as follows
Example
import re foo = 'AefuToiJnmna' match = re.findall(r'[a,e,i,o,u]', foo) print match
Output
This gives the output
['e', 'u', 'o', 'i', 'a']
We can use the following code to match any lowercase vowel in the given string as follows
import re foo = 'AefuToiJnmna' match = re.findall(r'[a,e,i,o,u]', foo) print match
This gives the output
['e', 'u', 'o', 'i', 'a']