Typescript Variable Inside Regexp Replace Postgresql