Js Create Regex From String