Template:Extract-Server

From RollerCoaster Tycoon Wiki Wiki, the RollerCoaster Tycoon encyclopedia that anyone can edit.

Extract the server name of a url.

Example: {{Extract-Server|http://rollercoastertycoon.com}}

Result: {{#replace:{{#replace:{{#sub:rollercoastertycoon.com|0|{{#pos:rollercoastertycoon.com|/|8}}}}|http://www.}}%7Chttp://}}