2016-12-01 144 views

回答

1

在JavaScript中这将是

var result = "https://traininghelloname.website.com/register".match("^https://training([^.]+)\.")[1] 

所以result将有活力的部分。即在这种情况下为helloname

相关问题