-2
NAMESERVER.DOMINIO.COM.BR
From this format above I want to remove the NAMESERVER. via regex
Staying only DOMINIO.COM.BR
What would be the regular expression (REGEX) that varies this?
-2
NAMESERVER.DOMINIO.COM.BR
From this format above I want to remove the NAMESERVER. via regex
Staying only DOMINIO.COM.BR
What would be the regular expression (REGEX) that varies this?
2
^.*?\.
use that Regex should solve...
^
: to indicate that it is at the beginning of a string
.*
: Delete everything...
?\.
: Until the first Point.
Browser other questions tagged regex
You are not signed in. Login or sign up in order to post.
Depends, what are the rules you want to include in this expression? Do you want to get everything after the first point? The domain can include
www.
also, so that you have to consider this point?– Andre