I am trying to do this regex match and replace, but am not able to do it.
Example
<a href="../files/...">One</a>
<a href"../files/...">Two</a>
<a href="three">Three</a>
<a href="four">Four</a>
I want to find each set of the a tags and replace with something like this
Find each link that contains "/file" string in href
<a href="../files/...">One</a>
and Replace its name to
<a href="../files/...">One (FileType Filesize)</a>
same way the rest of the a tags.
Any help would be very appreciated!