fork download
  1. import re
  2. rx = r"^([^a-z]+)\b(.*)"
  3. text = "HERE IS SOME TEXT, AND HERE IS SOME MORE; AND ANOTHER START. There is a lot of text that I am also interested in extracting and that will have a variety of Information, symbols @#$^*&^ and even amounts such as $4,123,156 to be included as well."
  4. m = re.search(rx, text, re.DOTALL)
  5. if m:
  6. print(m.group(1))
  7. print(m.group(2))
Success #stdin #stdout 0.02s 9512KB
stdin
Standard input is empty
stdout
HERE IS SOME TEXT, AND HERE IS SOME MORE; AND ANOTHER START. 
There is a lot of text that I am also interested in extracting and that will have a variety of Information, symbols @#$^*&^ and even amounts such as $4,123,156 to be included as well.