๐Ÿ”Žregexp WorkshopWORKSHOP
1
2
3
4

Step 1

Compile the pattern `\d+` with `regexp.MustCompile`. Use `MatchString` to check if `"order 42"` contains digits. Then use `FindAllString` with -1 to extract all numbers from `"buy 3 apples and 12 oranges"`. Print both results.

โŒ˜ Enter (Mac) ยท Ctrl+Enter (Win/Linux)