Bash Script Match Regex Javascript Password