GK

 avatar
user_5119020710
python
2 years ago
259 B
10
Indexable
import re
n=input()
file = open(n,'r')
st=file.read()

rs= re.sub(r'(\s{2,})', ' ', stringData)

rs=re.findall(r'[(][+]?84[)][7,8,9]\d{8}', stringData, re.MULTILINE)
 
rs=re.findall(r'[\s^]\d{1,5}-\d{3}-\d{5}-\d{1}[\s$]', stringData, re.MULTILINE)

print(rs)
Editor is loading...