---
# System prepended metadata

title: test.3.py

---

# test.3.py
``` python
import re

with open("information.txt") as file:
    for line in file:
        name = line.rstrip().split(",")
        if re.search(r"4\d{8}", name[0]):
            print(f"the {name[0]} number is {name[1]}")
        else:
            print("Please enter again.")
```
# information.txt
4107125,0912-145-619
411015343,0929-347-626
410RR346,0932-344-638
410912395,0942-447-664
410912340,0952-349-635
4109asd5,0952-345-672
410557348,0942-645-601
410SS3775,0955-145-619
411077743,0944-347-626
410sS8346,0935-399-638
4104ss44395,0942-888-664