Load previews from https, please.
Also, you could use a non-capturing version of regular parentheses (`(?: ... )`), so replace function will get only required chunks of matched text.