regexmatch.dev
Explore
Open main menu
Save & Share
Facebook
Twitter
Tumblr
E-Mail
Pinterest
LinkedIn
Reddit
All digit must be number
Published on Tue Mar 01 2022
All digit must be number
Regex
Test String
123456
Additional matching regexes for
All digit must be number
All digit must be number
All digit must be number
Nth match
Matches the nth five digit number
Validate a 10-digit US Phone Number
Validate a 10-digit US Phone Number
validate_invoiceid_with_yy
Validate an ivoice number with the last two digit as last 2 year digit
Nato Stock Number (Add dashes)
Takes a 13 digit non-dashed Nato Stock Number and uses the Substitution to add the dashes in
regex int
var pattern='/^[0-9][0-9]{0,6}$/'; /* int match 9 digit */ /********************************************** * * ^ starting point * 1st [0-9] number should be start between 0 to 9 * 2nd [0-9] number should be end between 0 to 9 * 3nd {0-6} number length should be exact 6 digit * $ its show the end of string or data * ************************************************/
Currency amount validation with sign (cents optional)
Allows Number: Currency amount US (cents optional) Can use US-style 123,456.78 notation Optional thousands separators; optional two-digit fraction; commas; dollar sign
Maritime Container Number Pattern
Pattern for container numbers. Without the digit verification of course.
Hex Input List
Match one or two digit hex values separated by a comma.
Regex pattern for numeric values
Positive number !