I am looking for a solution that can exclusively be done with a regular expression. I know this would be easy with variables, substrings, etc.
And I am looking fo
Just match for 4 digits (\d{4} should do it) and then verify that your match is not equal to '0000'.
\d{4}
'0000'