search & replace regular expression help
Hi, im looking for a regular expression to replace html rules without changing the content inside
so if a documents sets italic rules like
<span class="italic">example one</span>
<span class="italic">example two</span>
<span class="italic">example three</span>
am looking to change them to
<i>example one</i>
<i>example two</i>
<i>example three</i>
and only know a regex search parameter of
<span class="italic">(.*?)</span>
will find all instances, but dknow the replace equivalent to keep the content
so assuming (.*?) is a search only parameter, whats the replace equivalent?
Last edited by ni_c; 09-30-2015 at 02:28 AM.
|