• Hi folks, I am on a shared server and am seeing posts being hacked with incorrect links like

    <a style="text-decoration:none" href="/vardenafil-prices-costco">.</a>'

    I can’t find instructions on (I’m not a regex user normally), on how to search for this pattern in this plugin. I tried <a style="text-decoration:none" * </a>
    but that didn’t work…
    Please help me with some simple guidelines.

    • This topic was modified 8 years, 1 month ago by jefferisp7.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jefferisp7

    (@jefferisp7)

    Hey, I found a site that helped me and I used this for a search pattern:
    <a style="text-decoration:none" href=".*".*a>

    However, when I ran the replace with an empty replace value, it left this result: <>

    How do I replace with a space or nothing at all?
    TIA,
    Jeff

    • This reply was modified 8 years, 1 month ago by jefferisp7.

    Hi jefferisp7, I would try something like :
    Search pattern : @<a style="text-decoration:none" href=".*".*a>@
    Replace pattern :
    Note the @ character as a delimiter and let Replace pattern empty.
    Double check Search, Replace, before Replace and save !-)
    Good luck!

    • This reply was modified 7 years, 8 months ago by Francks.

    And check the Regex: box ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Instructions for regex pattern, hack fix?’ is closed to new replies.