Regular Expressions 101

Sponsors

Library entries

0
python

Date regex

no description available
Submitted by Krynce - a year ago
0
python

Validate HTML Id

no description available
Submitted by Gustavo Ferreira - a year ago
0
python

shed command grammar regex

basic grammar rules
Submitted by Jared Dyreson - a year ago
0
python

Regex house number

no description available
Submitted by anonymous - a year ago
0
golang

ISO8601-duration

no description available
Submitted by johndunne - a year ago
0
golang

ISO8601-utc-time

no description available
Submitted by johndunne - a year ago
0
python

iC1000 Päävalikko

no description available
Submitted by anonymous - a year ago
0
python

conditional phone numbers

no description available
Submitted by anonymous - a year ago
0
python

Question 2

no description available
Submitted by anonymous - a year ago
0
golang

Regex for email searches

no description available
Submitted by Manuel - a year ago
0
python

Найти все ссылки

no description available
Submitted by anonymous - a year ago
0
python

Remove url links

no description available
Submitted by anonymous - a year ago
0
python

Strip misc punctuation

no description available
Submitted by anonymous - a year ago
0
python

Remove Non-words

no description available
Submitted by anonymous - a year ago
0
python

Remove short words

no description available
Submitted by anonymous - a year ago
0
python

Remove long words

no description available
Submitted by anonymous - a year ago

brightblue swift syslog

Vote

0

Regular Expression
python

"""
.{16} (?P<server>[\w.-]+)\s (?P<servertype>[^:]+):\s (?P<clientip>[\d.]+|-)\s (?P<clientip_2>[\d.]+|-)\s (?P<timestamp>.+?)\s (?P<http_action>.+?)\s (?P<path>.+?)\s HTTP/(?:[0-9\.]+)\s (?P<status>\d+)\s (?P<huh3>.+?)\s #(?P<huh4>\d+)\s (?P<encoded_user_agent>\S+?)\s (?P<huh41>.+?)\s (?P<huh5>\S+)\s (?P<huh6>\S+)\s (?P<huh7>\S+)\s (?P<tx>\S+)\s (?P<huh8>\S+) (?P<ms>[\d.]+)\s (?:\S+)\s (?:\S+)\s (?P<blocktime>[\d.]+)\s (?P<blocktime2>[\d.]+)\s \S+
"""
x

Description

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