Regular Expressions

suggest change



Parameter | Details | ——— | —–– |String source | The regular expression as a String |{bool multiline} | Whether this is a multiline regular expression. (matches ^ and $ at the beginning and end of each line individually not the whole String) |{bool caseSensitive} | If the expression is case sensitive |


Dart regular expressions have the same syntax and semantics as JavaScript regular expressions. See for the specification of JavaScript regular expressions.

This means that any JavaScript resource you find about Regular Expressions online applies to dart.

Feedback about page:

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

Table Of Contents