Typescript Variable Inside Regexp Sql Meaning In Sales