Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

replaceall nodejs

public replaceAll(str: string, find: string, replace: string) {
	return str.replace(new RegExp(find, 'g'), replace);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #replaceall #nodejs
ADD COMMENT
Topic
Name
7+2 =