I have links like
<a href="#" class="social google">Google</a>
<a href="#" class="social yahoo">Yahoo</a>
<a href="#" class="social facebook">Facebook</a>
Now I want to match only anchor text
using regex.
I mean it should match only Text Google in the first link.
I have tried this code.
(?<=<a href="#" class="social .+?">).+?(?=</a>)
But its not working as expected.
Can anyone give me the correct syntax?