Create Regex Pattern Javascript Programiz