Regular Expressions 101

Library entries

0
pcre

strip host port

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

Martch Letras y Parentesis

Martch Letras y Parentesis
Submitted by Daniel Gonzalez - 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 - 6 days ago
0
python

PLDI regex 3

for pldi answer
Submitted by PlaceReporter99 - 7 days ago
0
python

PLDI regex 2

for pldi answer
Submitted by PlaceReporter99 - 7 days ago
0
python

PLDI regex 1

For pldi answer
Submitted by PlaceReporter99 - 7 days ago
0
python

Dyno warning regex

Used to separate things in dyno warning
Submitted by anonymous - 7 days ago
0
python

Hesla ISJ

ISJ
Submitted by anonymous - 9 days ago
0
python

100-4300

match 100, 200, 300 upto 4300
Submitted by anonymous - 9 days ago
0
java

Riedler's 2nd URL regex

why did I make this?
Submitted by Riedler - 14 days ago
1
python

Get <NIC>

Get NICs from string
Submitted by anonymous - 14 days ago
1
pcre

ENEL T5 Mono

T
Submitted by anonymous - 17 days ago

Normalizing data from a string

Vote

0

Regular Expression
python

r"
\w\s(?P<type>\S+)\s(?P<name>\S+)\s(?P<model>\S+)\s(?P<code>\S+)\s(?P<serial_number>\S+)\s(?P<in_charge>\S+\s\S+\s\S+)
"
g

Description

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