regexmatch.dev
Explore
Open main menu
Save & Share
Facebook
Twitter
Tumblr
E-Mail
Pinterest
LinkedIn
Reddit
Signed numbers with optional decimal part (comma or dot)
Published on Tue Mar 01 2022
Signed numbers with optional decimal part (comma or dot)
Regex
Test String
1.0 1,0 100000,10000 +10.0 10 1 -10.0
Additional matching regexes for
Signed numbers with optional decimal part (comma or dot)
Signed numbers with optional decimal part (comma or dot)
Signed numbers with optional decimal part (comma or dot)
Detecting numbers
signed or unsigned numbers with exponents or not
Phone Number Validation
Only Numbers Allowed, Optional (+) for international numbers Min: 10 Max: 14 Optional: +
Select any decimal
With this pattern possible select decimal that cantain comma or space
Regex for real number
this regex can detect any real number whether it is signed or unsigned.plus it can detect real number both with and without floating point aka '.'.the numbers should be decimal number
Phone Number
Allows phone numbers with optional country code, optional special characters and whitespace
Matching decimals in european format (dot as grouping separator, comma as decimal separator)
A regex for validating decimal numbers in the European number format (in many parts of Europe at least, including Germany). A comma is used as a separator for the decimal number, a dot as a separator for thousand places.
Dotted Decimal IPv4 Adress (for programming languages)
Searches for dotted decimal IPv4 Adresses and saves the numbers in match groups.
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.
Capture comma separated numbers
Capture comma separated numbers, no matter if there are spaces before or after the commas.