Test, validate and match regular expressions
This regex matches a character that is not 'e' or 'p' followed by a mathematical operator (including -, ], ), }, +, *, ×, /, ÷, ^, %) or the end of string. It's useful for parsing mathematical expressions to find boundaries between numbers and operators, while avoiding scientific notation exponents (e) or other special identifiers.