Regular Expressions 101

Sponsors

Library entries

0
python

Special GPS input

Used for TrigDroid
Submitted by anonymous - 8 days ago
0
pcre2

find supertype of

for express
Submitted by anonymous - 10 days ago
0
pcre2

Hardware ID

Checks whether the input is a hardware ID
Submitted by Justman10000 - 11 days ago
0
dotnet

Aus Mobile number

validates against multiple common formats
Submitted by anonymous - 11 days ago
0
java

Kyivstar phone number

Kyivstar phone number
Submitted by milka_vlad - 12 days ago
0
pcre2

MD highlight remover

Remove highlights from md files
Submitted by anonymous - 12 days ago
0
pcre2

MD higlighter

Mark words to auto-higlight
Submitted by anonymous - 12 days ago
0
pcre2

perga

regex to find total payment
Submitted by anonymous - 14 days ago

Floating point and scientific notation regex

Vote

0

Regular Expression
pcre2

/
^ (?: [+-]? # optional sign (?: # start a conditional group \d+ # either a nonzero number of digits | # or a decimal phrase \d* # optional digits preceding the decimal \.(?=\d) # a literal decimal followed by at least one digit \d* # optionally some more digits ) # note this group is mandatory! (?: # start an optional scientific notation group [eE] # the scientific notation character [+-]? # optional sign \d+ # after sci notation, you cannot go directly to a decimal )? ) $
/
gmx

Description

Loading markdown...
Submitted by Kevin Winner - 5 months ago