I guess this might be hard to implement, but here goes the steps:
- Open example page.
- Replace "(.+)" with „$1” (regexp search enabled).
- Replace all.
Change only quotes type and not wikicode inside it.
Wikicode is removed effectively changing "[[blah]]" to „blah”.
Note that when match is inside a link it works fine (e.g. something -> otherthing is OK; (\w),(\w) -> $1, $2 is OK).