dimanche 27 juin 2021

Trying catch and html tags with regex

I'm trying to catch and with regex format. This is my code: linkregex = re.compile(b'<[link|a] [^>]href='|"['"][^>]?>') but that isn't catching both... any ideas?




Aucun commentaire:

Enregistrer un commentaire