I have an html file, that file contains html tags I want to select all anchors that have specific formula that formula like the following
<a href="AnyTextHereFollowingByThatChar/" target="_blank">
I write regex like that following
\<a\s*href\=\"(.*?)"\s*target\="_blank"
but this regex select the first anchor that it match until find keyword target on any other anchor and then stop after selecting all characters in between.
Appreciate any help to catch those anchors
<a href="AnyTextHereFollowingByThatChar/" target="_blank">