Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove from string javascript regex

const removeFromString = (haystack,needle) => 
	needle = "("+needle+")/g" && haystack.replace(needle,'');
 
PREVIOUS NEXT
Tagged: #remove #string #javascript #regex
ADD COMMENT
Topic
Name
3+4 =