I am dealing with old hacked sites in Wordpress where there are injection spam links on images. Also, need this for standard html sites.
I have access to the database and would like to remove links that look like this: <a style="text-decoration:none" href="/ansaid-retail-cost">.</a> > > Now the link varies inside the href and it might be for cialas or any product, but the rest doesn't vary. I want to remove the entire LINK, so the result is a single space. I don't know regex, so I would appreciate the help. I've tried online regex generators but they don't seem to be working. In this case, the html link is attached to an image caption in the database. However, finding that type of string in the database is what I need to replace by removing it entirely. If I find and replace just the source code <a style="text-decoration:none" href=" portion it will leave a lot of empty tags or erase things I don't want it to. TIA, Jeff -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "[email protected]" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/2b21748d-d1b5-4634-a659-e71d7ba44515%40googlegroups.com.
