25 lines
363 B
Markdown
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)(.*)"
|
|
``` |