Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Javascript
js regex replace multiple matches
K.A
Programming language:
Javascript
2021-07-28 04:57:27
0
Q:
js regex replace multiple matches
Thoughtful Tarantula
Code:
Javascript
2021-06-11 17:54:08
str.replace(/-|:|\./g,''); // replace all matches of "-", ":" and "." in str
0
Tags
multiple
replace
Related
how to use the match function in javascript for regex
how to regex a link javascript
javascript regex match sequence
javascript regex single line
javascript regex zero or more occurrence
javascript regex reference
check if 2 strings matches js
js regex to find string but not another
js match any number string
javascript regex match
javascript test regex date with slashes
javascript regex Zero or one occurrence
javascript regex match any character including newline
regex for strings with specific letters javascript
javascript regex match character from a set of characters
javascript regex example match
javascript regex One or more occurrences of the pattern
New to Communities?
Join the community