• Resolved Haazi

    (@haazi)


    Hi
    i want to change this code

    <p>The post <a rel="nofollow" href="https://gorkk.com/48522.html">Fat burning systems</a> appeared first on <a rel="nofollow" href="https://gorkk.com">GoRRK</a>.</p>

    into
    <p>Originally Posted on GoRRK.</p>

    How can use the regex to do this.

    is this OK?

    <p>The post <a rel="nofollow" href="https://gorkk.com/ * GoRRK</a>.</p>

    Note: the “48522.html” on example, the number will changed on every post.
    thanks.

    https://www.ads-software.com/plugins/real-time-find-and-replace/

Viewing 1 replies (of 1 total)
  • Plugin Author Marios Alexandrou

    (@marios-alexandrou)

    The best approach I’ve found when working with regex is to start small. Try replacing just the html file with something like [0-9]+\.html and then expand the find rule until the whole thing you want to match is matched.

Viewing 1 replies (of 1 total)
  • The topic ‘how to use Regex’ is closed to new replies.