Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove port number from url node js

url.replace(/:d+/, ""); // Replaces : with any digits after it from URL
 
PREVIOUS NEXT
Tagged: #remove #port #number #url #node #js
ADD COMMENT
Topic
Name
4+4 =