Regular Expressions 101

Library entries

0
java

Martch Letras y Parentesis

Martch Letras y Parentesis
Submitted by Daniel Gonzalez - 8 days ago
0
pcre2

YouTube link parser

Validate an URI to YouTube video.
Submitted by anonymous - 8 days ago
0
javascript

test

test
Submitted by anonymous - 11 days ago
0
pcre2

UFUNCTION parser

Breaks any UFUNCTION into parts
Submitted by anonymous - 13 days ago

Linux Uptime (match all possible cases with days, min and hours)

Vote

0

Regular Expression
javascript

/
^\s*\S+\s+up\s+(?<uptime>(?:\S+\s+days,\s+\d+:\d+|\S+\s+min)|\d+:\d+)
/
gm

Description

Loading markdown...
Submitted by Feruz Ibadullaev - 2 months ago