Challenge Find Numbers With Regular Expressions - thelastmile/FreeCodeCamp GitHub Wiki
Challenge Find Numbers with Regular Expressions
We can use special selectors in Regular Expressions to select a particular type of value.
One such selector is the digit selector \d
which is used to grab the numbers in a string.
It is used like this: /\d+/g
.