SyntaxFix
Write A Post
Hire A Developer
Questions
If the language you use accepts {}, you can use [0-9]{4,6}.
{}
[0-9]{4,6}
If not, you'll have to use [0-9][0-9][0-9][0-9][0-9]?[0-9]?.
[0-9][0-9][0-9][0-9][0-9]?[0-9]?