提取text中的电话号码和邮箱号
text='欢迎来到重庆财经职业学院,咨询热线49834729,邮箱:cqcjzs@126.com'
import re
o =re.compile('.*?(\w+\d+).*?(\w+.*?\d+.*?\w+)')
b =re.findall(l,text)
print()
提取text中的电话号码和邮箱号
text='欢迎来到重庆财经职业学院,咨询热线49834729,邮箱:cqcjzs@126.com'
import re
o =re.compile('.*?(\w+\d+).*?(\w+.*?\d+.*?\w+)')
b =re.findall(l,text)
print()