Hi, I had a similar problem recently. (see
https://www.mobileread.com/forums/showthread.php?t=59282 )
My problem was the regexp editor doesn't show you the text the regex acts on.
Try something like:
Code:
(?ism)<a href="http://www.abbyy.com/buy"><b>(\w|\s)*</b></a>(<br>)?