regexmatch.dev
Explore
Open main menu
Save & Share
Facebook
Twitter
Tumblr
E-Mail
Pinterest
LinkedIn
Reddit
non negative integers
Published on Tue Mar 01 2022
Regex
Test String
111111111111111999999999999999990000000000000000333333333333333332 10 11 2 0 -1 -22 1.4 0.1 0. 0- -0 000.4 022345 0
Additional matching regexes for
non negative integers
ZLNLB
Zero length negative lookbehind
Matching upto 255 number range
this is for matching integers from 0 to 255
Regex_Article
Start with two letters and followed by any number of Integers
Currency with dollar sign, two decimals, negative allowed, starting with period ok
Currency with dollar sign, two decimals, negative allowed, starting with period ok
Simple Number
Verifies Number is a negative/positive number. Number may be a decimal, but if it is, it requires at least one number before and after the decimal place. Decimal numbers may also be negative or positive. Only 1 decimal place is allowed.
whitespaces and positive numerics (3 precisions accpet . or ,)
//Accepts whitespaces and positive numeric values including integers and decimals(dot or comma optional) with 3 precisions only. //Ex: "999", " 999.999", " 999.999", " 999,999", " 999,999" -> ACCEPTABLE
Get any positive integer
All real numbers can be divided into three categories: positive, negative and zero; Match all positive number Match: 2 9 +8 005 0420 123456789 40.262,12 +042 262,12 421.265.195,52 0420 $ 0420 € 35 °C 12 °F No Match: 0 00000 0000 -10 -1 10a
Valid RGB color value
Pattern for matching actually valid RGB values. - validate separator (mixing spaces and commas between values is not valid) - validate if comma is used as separator if alpha channel is set - validate units (mixing percentage with integers is not valid) - extract `r`, `g`, `b`, `a`, `separator` and `unit` with named groups