How to parse regex in flutter?

Posted by Pinki | Updated on

How to parse regex in flutter? Dart compiled for the Web supports lokbehinds, but the current version of native Dart (including Flutter) does not support lookbehinds (source).

In your case, you want to match a string after a specific string. All you need is to declare a capturing group in your pattern and then access that submatch:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers