Perl Regex named capture variables

Simple example to extract, protocol, server and domain from a given URL:

Our Result:

Leave a Reply

Your email address will not be published.

seventeen − 4 =