DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+4 =
Submit