I am looking to match a string like this:
[quote12445555=Me]Some \n Quote[/quote12445555]
And replace it with this:
<blockquote>Some \n Quote</blockquote>
I had regex for this as follows:
!\[quote(\d+)=(\w+)\](.*|\r\n|\n)\[\/quote(\d+)\]!
Replaced by:
<blockquote>$3</blockquote>
But it doesn’t seem to be working
Any help or suggestions would be greatly appreciated.
This appears to work in my tests:
try changing:
(.*|\r\n|\n)to(.|\r\n|\n)*does the forward slash need to be escaped?
\/My replace string was:
<blockquote>$1</blockquote>