Im trying to find if string match a regex on Dart.
My string is:
text text text ... ... ...
<iframe class="embedly-embed" src="https://api.com" scrolling="no" frameborder="0" allowfullscreen=""></iframe>
text text text ... ... ...
my regex is:
RegExp exp2 =
new RegExp(r'<iframe.*class=\"embedly-embed\".*src=\"(.+?)\"');
when im using https://regex101.com/r/24KmKH/4 the regex work correctly.
when im tying using Dart, the regex works only like this:
RegExp exp3 = new RegExp(r'<iframe.*class=');
how can i get only the src (https://api.com) link if it matches the regex using Dart ?