Skip to content

Instantly share code, notes, and snippets.

@jezinka

jezinka/3.py Secret

Created July 29, 2017 13:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jezinka/ff2c12bb794d6d74a5dbf45375e6f066 to your computer and use it in GitHub Desktop.
Save jezinka/ff2c12bb794d6d74a5dbf45375e6f066 to your computer and use it in GitHub Desktop.
import re
f = open('3.txt', 'r')
print "".join(re.findall(r"[a-z][A-Z]{3}([a-z])[A-Z]{3}[a-z]", f.read()))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment