I don’t know how familiar you are with regular expressions but you could do this with a two-pass regular expression search and replace: (I used Emacs regex format, your preferred editor might use a different format. notably, in Emacs [ is a literal bracket but ( is a literal parenthesis, for some reason)
replace “^(https://.? )([[.?]] )*” with “\1″
replace “[[(.*?)]]” with “\1″
This first deletes any tags that occur right after a hyperlink at the beginning of a line, then removes the brackets from any remaining tags.
I thought about manually deleting them all but I don’t feel like it.
I don’t know how familiar you are with regular expressions but you could do this with a two-pass regular expression search and replace: (I used Emacs regex format, your preferred editor might use a different format. notably, in Emacs [ is a literal bracket but ( is a literal parenthesis, for some reason)
replace “^(https://.? )([[.?]] )*” with “\1″
replace “[[(.*?)]]” with “\1″
This first deletes any tags that occur right after a hyperlink at the beginning of a line, then removes the brackets from any remaining tags.