Run ❯
Get your
own
website
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Change Language
Go to Spaces
Ctrl+Alt+P
void main() { RegExp number = RegExp(r'\d+'); RegExpMatch? match = number.firstMatch('Order 45 has 3 items'); if (match != null) { print(match.group(0)); print(match.start); } }
45
6