I'm trying to append something to the query string to various assets hosted on filepicker which serves from a few specific domains, some of which already contain a query string. All other URLs should be left untouched.
For example, we might have the following in markdown:

We could also have
<img src="https://www.filepicker.io/api/file/someotherfile" />
Or
<a href='https://www.filestack.com/api/file/anothersdf?sdf=3&dfdf=1'>link</a>
Just trying to match against one domain for the moment I have the following regular expression which isn't matching all cases:
I do not want to match any references to other domains.
I've had mixed success with the following:
/(https:\/\/www\.filepicker.io\/api\/file\/[a-zA-Z0-9]+(\/convert)*[^)])$/is