Please take a look at this thread
How to do a BPM that throws an error if a RegEx variable does not contain (or match) numeric values - Kinetic 202X - Epicor User Help Forum (epiusers.help)