regexmatch.dev
Explore
Open main menu
Save & Share
Facebook
Twitter
Tumblr
E-Mail
Pinterest
LinkedIn
Reddit
prime factorization
Published on Tue Mar 01 2022
matches only non-prime numbers; match length is smallest divisor
Regex
Test String
Additional matching regexes for
prime factorization
prime factorization
matches only non-prime numbers; match length is smallest divisor
Match numbers with consecutive digits
Match numbers with consecutive digits and of length 3.
sha512 - letters and numbers, without special characters. length 512
Just capital **letters and numbers**, **without special characters**. String length 512
Prime numbers test
Given a number N represented by its unary form N(1), when RegEx doesn't match N(1), N is prime
CSS Length Units
Matches CSS Length Units according to: http://www.w3schools.com/cssref/css_units.asp
Portuguese phone numbers
Matches Portuguese phone numbers.
Greatest common divisor
Calculates the greatest common divisor of two numbers. Attention: pipes in the substitution separate alternatives. If one alternative does not match, the next alternative is tried if it exists. The substitution must be repeated until it cannot substitute further.
Currencies
Matches numbers formatted like currencies
PHP North American Phone Number
## Format phone numbers to look nice! E.g. 12345678900 --> +1(234)-567-8900 Matches with most ways numbers are stored 1.234.567.8900 1 234 567 8900 Mix and match
Match all numbers
Match all numbers from a string.