Regex Check For Empty String Javascript