AGE automation VVI
# find age only from the above data
import re
s1="rahul 20 23-12-2002, arun 22 20-11-2000, vicky 24 27-10-1998"
r=re.compile(r'\d{2}-\d{2}-\d{4}')
result=re.findall(r,s1)
print(result)INFO
# find age only from the above data
import re
s1="rahul 20 23-12-2002, arun 22 20-11-2000, vicky 24 27-10-1998"
r=re.compile(r'\d{2}-\d{2}-\d{4}')
result=re.findall(r,s1)
print(result)