Skip to content

Commit

Permalink
Update EP.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kuldeep27396 authored Apr 30, 2020
1 parent a3a1c6e commit 6e487cd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions EP.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#E-mail and phone number extractor

import pyperclip

import re
Expand All @@ -24,7 +22,8 @@
(\.[a-z{2,4}]) # dot-something
)''', re.VERBOSE)

match =[] # list for storing all the matched found
match =[]
# list for storing all the matched found

for groups in phone_regex.findall(text):
phone_number = '-'.join([groups[1],groups[3],groups[5]])
Expand Down

0 comments on commit 6e487cd

Please sign in to comment.