Regular Expressions 101

Sponsors

Library entries

0
pcre2

GMT Timezone

GMT Time zone regex
Submitted by Ashish Ambre - a year ago
1
java

Rick Roll

Matches chorus of Never Going to Give You Up
Submitted by Stephen Battista - a year ago
1
pcre2

order by field and direction

order by field and direction
Submitted by anonymous - a year ago
0
pcre2

xrandr device line

Device line of xrandr output
Submitted by anonymous - a year ago
0
java

Remove duplicate lines in sorted text

See
Submitted by @atnbueno - a year ago
0
golang

chia plot

chia plot
Submitted by temple - a year ago

Date/time ago parser

Vote

0

Regular Expression
pcre2

/
((?:(?:\d+) (?:years?|months?|weeks?|days?|hours?|minutes?|seconds?)(?: ago)?[ ,]+)+)
/
g

Description

Loading markdown...
Submitted by anonymous - a year ago