Hi,
knowing it's more a question about perl regex I just want to remember that there is a core module Net::Domain giving solutions in the mentioned problem domain.
Update: I've to correct myself. This module gives you the mentioned informations for the currenct host, but doesn't extract these informations from a given string representing domain names.
McA
In reply to Re: extract a hostname from a fqdn
by McA
in thread extract a hostname from a fqdn
by iang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |