Thanks
@Dave. I know it can be quite a pain to try to avoid, so all I could think of would be to check if there was a parenthesis just before the URL and pair it to one after the URL.
Otherwise I will fallback to my previous workaround, which was to include a space either side of the URL.