SyntaxFix
Write A Post
Hire A Developer
Questions
\b\d{1,6}\b
Explanation
\b # word boundary - start \d # any digits between 0 to 9 (inclusive) {1,6} # length - min 1 digit or max 6 digits \b # word boundary - end