363 B
363 B
UK specific regex
Nameservers
r"(?i)(Name servers:\n)(.*\n)+"
Tag
This is a bad way of doing this, will use the below method instead
r"(?i)(\[TAG = )(\w+-\w+-\w+)"
Status
r"(?i)(Registration status:\n)(.*)"
Registrar
This will also return the tag which we can separate that out later
r"(?i)(Registrar:\n)(.*)"