Skip to content

Instantly share code, notes, and snippets.

@BMU-Verlag
Created September 10, 2019 07:50
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 BMU-Verlag/c86c9c5f0b6c03e4794a6153a8fa1bf4 to your computer and use it in GitHub Desktop.
Save BMU-Verlag/c86c9c5f0b6c03e4794a6153a8fa1bf4 to your computer and use it in GitHub Desktop.
for index, element in enumerate(raw_html.select('li')):
current_line = element.text
if (re.match('.*\(\d{4}-\d{4}\).*', current_line)):
print(current_line)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment