/\b(?:[[:digit:]]{1,3}\.){3}[[:digit:]]{1,3}\b/
[[:ipv4:]]
Is it possible to do something like that?
In reply to Defining your own regex character class by igoryonya