Create and use a Regular Expression

suggest change
var regExp = new RegExp(r"(\w+)");
var str = "Parse my string";
Iterable<Match> matches = regExp.allMatches(str);

It’s a good idea to use “raw strings” (prefix with r) when writing regular expressions so you can use unescaped backslashes in your expression.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents