Hi All,

 

I rather badly need some help with a regular expression.

 

I need to identify the occurrence of the following search string in another
string, and replace it with some text followed by the identified search
string.

 

<search string>

 

<p><a href="http://mysite/index.php?p=2#more-2";>(more&#8230;)</a></p>

 

</search string>

 

The consistent part of the string is the text "(more&#8230;)</a></p>"

 

Essentially, I'm trying to figure out how to insert text prior to the
opening "<p>" in this line.

 

Can anyone give me a hand in working this out?

 

Many thanks in advance!

 

Much warmth,

 

Murray

Reply via email to