I'm trying to limit the entries to a specific format.
If the entry has 5500 or 5100 such as 01\01-5500-000-00 then I want to have this:
^[0-9]{2,}\\[0-9]{2}\-[0-9]{4}\-[0-9]{3}\-$
But if the entry has anything other than 5500 or 5100 I want to have this:
^[0-9]{2,}\\[0-9]{2}\-[0-9]{4}\-[0-9]{3}\-[0-9]{2}$
How can this be accomplished with the if then else idea?