Skip to content

Challenge Find Numbers With Regular Expressions

Quincy Larson edited this page Aug 20, 2016 · 1 revision

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.

Clone this wiki locally