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() { String phone = 'Call 555-123-4567 now'; String hidden = phone.replaceAll(RegExp(r'\d'), '*'); print(hidden); String messy = 'Too many spaces'; print(messy.replaceAll(RegExp(r'\s+'), ' ')); }
Call ***-***-**** now
Too many spaces