Bash Extract Substring Regex Tester