0
Match() function explanation?
Match ()
2 Answers
+ 8
The string.match() is an inbuilt function in JavaScript which is used to search a string for a match against a any regular expression and if the match will found then this will return the match as an array.
+ 1
As a supplement to JTLZ answer, you can learn about regular expressions from Danijel's tutorials :
https://code.sololearn.com/Wx88zgigVueq/?ref=app