Using Variable In Regex Jsx Reactjs