Hi All,
I’m trying to use the find and replace plugin with both regex and multiple on:
{exp:replace find="<a ><\\/a><h2>(.+)<\\/h2>|<p>.+<\\/p>|<img.+>" replace="<p><a >$2</a></p>|<p>para</p>|<p>image</p>" regex="yes" multiple="yes"}
<a href="http://test%22name=%22test%22></a>h2test">test heading_para_image
__I’m getting:_
_<a href="test">test heading</a>
|
para
|
image
<a href="">
|
para
|
image
<a href="">
|
para
|
image
Any thoughts on what might be wrong? The doco doesn’t show any examples that use both regex and multiple, so maybe it can’t do that?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.