Oracle Tip's & Trick's
import re
pattern = re.compile("ORA-")
for line in open("x2.txt"):
for match in re.finditer(pattern, line):
print(line)