Closed brianorwhatever closed 8 months ago
Most of the magic was from this regex but did have to add a lot of tildes..
Find: ^(#)\s([^#\n]+)<a id="[^"]+"></a>\n\n([^#\n]+(?:\n[^#\n]+)*) Replace [[def: $2]]:\n~ $3
^(#)\s([^#\n]+)<a id="[^"]+"></a>\n\n([^#\n]+(?:\n[^#\n]+)*)
[[def: $2]]:\n~ $3
Superseded by #5
Most of the magic was from this regex but did have to add a lot of tildes..
Find:
^(#)\s([^#\n]+)<a id="[^"]+"></a>\n\n([^#\n]+(?:\n[^#\n]+)*)
Replace[[def: $2]]:\n~ $3