how to remove https link from javascript

77

how to remove https link from javascript -

result = url.replace(/(^\w+:|^)\/\//, '');

Comments

Submit
0 Comments