The Main focus: Remove the protocol and subdomain, but any other non-www subdomain must remain.
Example 1. If the protocol and the standard www subdomain such as http://www.example.net, then the expected result must be: example.net
Example 2. If the protocol and any other non-standard subdomain such as https://jokes.example.net, then the result must be: jokes.example.net
Please, any suggestions.