Yaron Koren's ReplaceText MediaWiki extenion allows me to use regular expressions to replace text in MediaWiki. I have about 300 MediaWiki pages that have two instances of a template. I want to delete only the second template using regular expressions. (replace it with nothing)
I have:
}} <--end of first template-->
{{Template Call
|blahField=blahValue
|blahField=blahValue
|...
}}
I think I want to search for: ^[ \\}} \r \\{{ *? ]
and replace it with: ^[ \\}} ]
but this is not producing the result I want when I test it at rexv.org
Appreciate some help with regular expressions.