Regular Expressions 101

Sponsors

Library entries

0
pcre2

Email selection

Select emails from a string
Submitted by anonymous - 24 days ago
0
javascript

city

Letters, space and - , . ' & / 
Submitted by anonymous - 24 days ago
0
javascript

Streetname

Letters, numbers, space and  . ,  ' - /
Submitted by anonymous - 24 days ago
0
java

Titulo da expressao

\w
Submitted by anonymous - 24 days ago
0
pcre2

Validate Phone number

to validate phone number
Submitted by anonymous - a month ago
0
pcre2

ZIP Code

ZIP Code validator
Submitted by Donald Moore - a month ago
0
pcre2

Qunatifiers1a

führende Nullen werden übersprungen
Submitted by Wolfram - a month 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