Regular Expressions 101

Library entries

0
pcre2

IIC++ Script Parsing Regex

Regex for parsing IIC++ script.
Submitted by Vu Tung Lam - an hour ago
0
dotnet

for killerswim

a
Submitted by anonymous - 8 hours ago
0
pcre2

入门学习

Submitted by anonymous - 18 hours ago
0
pcre2

exclude square brackets

exclude square brackets
Submitted by tarek - 2 days ago
0
pcre

strip host port

removes port number from URL
Submitted by pc - 4 days ago
0
java

Martch Letras y Parentesis

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

YouTube link parser

Validate an URI to YouTube video.
Submitted by anonymous - 4 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