I cannot work out the regular expression that would do the following:
Given a line that looks like this:
<p class="mozp">(Gavesisuttam)</p>
I want to end up with a line that looks like this:
<h4>Gavesisuttam</h4>
I cannot look just for "<p class="mozp">" as it occurs on every line.
The unique thing in this line is the "suttam)"
I have tried variations of the following:
^<p class="mozp">(\<[.*]suttam)</p>$
^<p class="mozp">\(\<[.*]suttam\)</p>$
^<p class="mozp">\\(\<[.*]suttam\\)</p>$
^<p class="mozp">\([.*]suttam\)</p>$
^<p class="mozp">\\([.*]suttam\\)</p>$
^<p class="mozp">\(\(\([^<]+\)suttaµ\)</p>$
Any help would be appreciated.
Help with Regular Expression
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Help with Regular Expression
Best Wishes!
Mike Olds
Mike Olds