Regular Expressions 101

Sponsors

Library entries

0
pcre

exp1

asdf
Submitted by anonymous - 4 days ago
0
pcre

semantic tags

semantic tags
Submitted by anonymous - a month ago
1
pcre

URL Validator (HTTP and HTTPS)

Validate one URL HTTP and HTTPS
Submitted by Joaquim - 2 months ago
0
pcre

Mysite

Hello
Submitted by anonymous - 2 months ago
0
pcre

MBI Regex

validates against the MBI format published by CDC
Submitted by i410hlr - 2 months ago
0
pcre

Parse arguments

Parse arguments
Submitted by Ofir Yariv - 2 months ago
0
pcre

User-Agent

Parser
Submitted by sn3kdev - 2 months 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