I have some strings in JavaScript:
Example: http://ift.tt/1dTOlMV
http://ift.tt/1dTOlMV
I'm looking for a regex (or similar) expression that can remove the subdomains from the string that leaves: http://domain.com
http://domain.com
Aucun commentaire:
Enregistrer un commentaire