2024-03-23 19:27:34 +11:00

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)(.*)"