Typescript Variable Inside Regexp Replace In Postgresql