Javascript Regex Match Array Function In Python In Hindi