Advertisement
qtinio

ddsdsd

May 30th, 2019
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. import re
  2.  
  3. import codecs
  4.  
  5. if __name__ == '__main__':
  6. mm = codecs.open('tekst.txt', 'r')
  7. mm = mm.read()
  8. print(mm)
  9.  
  10. # hmm = re.findall(r'((((\ |)[^\w@](\w+\+)*\w+(\.\w+)*)|(\ [^@]\w+)|(\ \".+\"))@{1}((\w+\.\w+)|com|(\[.+\])))', mm)
  11. hmm = re.search("/(((\ |)[^\w@](\w+\+)*\w+(\.\w+)*)|(\ [^@]\w+)|(\ \".+\"))@{1}((\w+\.\w+)|com|(\[.+\]))/g", mm)
  12. print(hmm)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement