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

25 lines
363 B
Markdown

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