Regex for real number

Published on Tue Mar 01 2022

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

Additional matching regexes for
Regex for real number

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

Detecting numbers

signed or unsigned numbers with exponents or not

Floating Point

Tests a floating point number

Signed numbers with optional decimal part (comma or dot)

Signed numbers with optional decimal part (comma or dot)

Regex for complex number

it can detect complex number of both cartesian and Euler form.the real number in the real and imaginary part can be signed or unsigned.also it may or may not have floating Point.no problem. But,in Euler from the imaginary part should be written between brackets.here are some example:- +5.6+7i,-.004+2.5i,6.-i,i,e^-(5i),.02e^(-2.3i),7e^(i)

Poker Hand type

Detect the poker hand from a sorted hand like this: <Figure><Number> with the figures and numbers sorted in descending order

Sql Injection detection

this regex detect any sql injections .

Maritime Container Number Pattern

Pattern for container numbers. Without the digit verification of course.

sha512 - letters and numbers, without special characters. length 512

Just capital **letters and numbers**, **without special characters**. String length 512

Viet Nam Phone Number

Viet Nam Phone Number Regex. This regex include: - Cellphone number: Viettel, Vinaphone, Mobiphone, Vietnamobile, Iteltelecom, Reddi (055) - Telephone number (such as: 024, 028,...) - Start with ```0``` or ```84``` - Exactly 10 or 11 numbers