xbox_gamer1 why would you need to close a brace that isnt opened? there is only 1 set of braces and thats on line 6 in the regex pattern.
Also there is only 1 way to execute this script, as with most bash scripts.