Dniness

Results 2 comments of Dniness

/([^/]+\\/\\/)(w+\\.)?([^/]+)\\.tr(\\/[^?]+)\\??(.*)?/

val.match(/([^/]+\\/\\/)(w+\\.)?([^/]+)\\.tr(\\/[^?]+)\\??(.*)?/) then you will get a array, and then you can do it by yourself.