10 numeric digits, must start with 04 or 02
Quote:Im a new learner to regex so I don't really know how to get started with this
^0(2|4)\d{8}$
"^(0[2378][0-9]{8}|04[0-9]{8})$"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)