Regular Expressions 101

Sponsors

Library entries

0
python

Bespoke NGINX Log Parse

Splits NGINX logs into named groups
Submitted by Simon - 15 hours ago
0
pcre2

match the id of linkedin url

match the id of LinkedIn URL
Submitted by goldentwon - a day ago
0
pcre2

Headers

Headers
Submitted by anonymous - a day ago
1
java

Email finder

Matches with the valid email addresses.
Submitted by anonymous - a day ago
0
pcre2

Example 1

Example
Submitted by anonymous - 2 days ago
0
javascript

Force email address

Force email address
Submitted by anonymous - 2 days ago
0
golang

pxc plcnext

plcnext version strings
Submitted by anonymous - 2 days ago
0
pcre

exp1

asdf
Submitted by anonymous - 3 days ago
0
pcre2

T1

Reguljärt uttryck för att matcha T1
Submitted by Jonas Thor - 5 days ago
0
java

Other segment

Other segments
Submitted by Lufram - 5 days ago
0
java

Take segments to string

Take segments to string
Submitted by Lufram - 5 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 - 4 months ago