Regular Expressions 101

Library entries

0
pcre

strip host port

removes port number from URL
Submitted by pc - a day ago
0
pcre2

YouTube link parser

Validate an URI to YouTube video.
Submitted by anonymous - 2 days ago
0
pcre

Proxy Matcher

Validate 1-223.0-255.0-255.0-255:1-65535
Submitted by dev.tntd2k2 - 5 days ago
0
python

Session Start/Close

Capturing Start/Close in IRC-logs
Submitted by Corpset - 5 days ago
0
pcre

latlonlatlon

gg
Submitted by anonymous - 5 days ago

Special GPS input

Vote

0

Regular Expression
python

r"
^(-?(([0-8]?\d(\.\d{1,6})?)|(90(\.0{1,6})?))):(-?((\d\d?(\.\d{1,6})?)|(1[0-7]\d(\.\d{1,6})?)|(180(\.0{1,6})?)))(:(-?\d\d?(\.\d{1,6})?))?(#(\d\d?(\.\d{1,6})?))?(_(\d\d?(\.\d{1,6})?))?$
"
gm

Description

Loading markdown...
Submitted by anonymous - 2 months ago