DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
regular expression to remove underscore from a string javascript
var str = "Yeah_so_many_underscores here"; var newStr = str.replace(/_/g, ""); alert(newStr);
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#regular
#expression
#remove
#underscore
#string
#javascript
ADD COMMENT
Topic
COMMENT
Name
3+3 =
Submit