i have a sample `str1` `"14 girls"`
`str2` `"178 guys"`

i tried the following in chrome console to extract the numbers 12 and 178, could anyone please tell me what went wrong?

```
str.match(/^\d{2}$/)  to get the number of girls i.e. `14`

str.match(/^[0-9]{2}?$/)

```

What would be an easy way to get the numbers?