What are the two ways to create regular expression in javascript?
Answers
Answered by
0
In JavaScript, regular expressions are often used with the two string methods: search() and replace() . The search() method uses an expression to search for a match, and returns the position of the match.
Similar questions