What does this expression return?
'a1b22c333'.match(/\d+/g)
- ['1', '22', '333']
- ['a1', 'b22', 'c333']
- ['1', '2', '3']
- ['a', 'b', 'c']
\d+ grabs each run of one or more digits, and g returns every match.'a1b22c333'.match(/\d+/g)
\d+ grabs each run of one or more digits, and g returns every match.