I've got a large number of regular expressions to check, that are outputted in the Java/JavaScript RegEx format as shown:
\d{7}|\d{8}
[a-zA-Z]\d{8}
[a-zA-Z]\d{3}-\d{3}-\d{2}-\d{3}\d[0|1]
Seeing as I have a comfort with Bash, but there are little tricks I may never think of, I was wondering if there is a way I can take a test string to evaluate against this specific format of RegEx.
I've tried a number of greps and evaluating with data I know passes through a RegEx tester as such http://www.cyber-reality.com/regexy.html
In using bash RegEx I can evaluate these correctly, however I don't have the ability to change the way my server outputs these strings to a format I know how to evaluate in bash.
Any thoughts?