Last active
September 13, 2018 05:50
-
-
Save DylanLacey/1646684ec42b915bbfd8a17b8d9f77a0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! python | |
import re | |
pattern = r"PROXY (\d+\.\d+\.\d+\.\d+):(\d+)" | |
f = open("pac.js", "r") | |
for line in f: | |
if re.search(pattern, line): | |
print("Match: %s" % line) | |
else: | |
print("No Match: %s" % line) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment