30-Days-Of-JavaScript icon indicating copy to clipboard operation
30-Days-Of-JavaScript copied to clipboard

the match method and regEx

Open DoubleK11 opened this issue 2 years ago • 0 comments

I have realized that when I try to copy from the code on the match method section in the strings methods, my machine only returns an array that has only the first number which is "2019", after i used the /\d+/ regular expression, it doesn't make an array of all the digits in the string when i try to return it in the console.

DoubleK11 avatar Aug 21 '23 12:08 DoubleK11