Regular Expressions 101

Sponsors

Library entries

0
pcre

User-Agent

Parser
Submitted by sn3kdev - 2 months ago
0
python

Editoria gamecoin

Capturar editorias do site gamecoin
Submitted by anonymous - 2 months ago
0
pcre

Parcing2

aa
Submitted by anonymous - 2 months ago
0
pcre

trim phone number

trim phone number
Submitted by anonymous - 2 months ago
0
golang

log timestamp

extract time stamp from log entry
Submitted by anonymous - 2 months ago
0
python

Get All inst of Characters Name

Standard Script format tv
Submitted by SummerRay - 2 months ago
0
python

Tool Call

f
Submitted by anonymous - 2 months ago
0
python

Bit00:sadf::saf

Bit00:sadf::saf 提取
Submitted by anonymous - 2 months ago
0
pcre

NMEA after timestamps

Picks up (most?) NMEA messages.
Submitted by David Harrison - 2 months ago
0
python

pokernow starting new hand

asdf
Submitted by michael - 2 months ago
0
python

Skillshare matcher regex

Skillshare matcher regex
Submitted by anonymous - 2 months ago
0
python

Emails

test
Submitted by anonymous - 2 months ago

dmidecode parse

Vote

0

Regular Expression
python

"""
(?P<HEADER> (?: (^|\n) ^[^\t\n][^\n]* ){3,}) # header of 3+ none-indented lines | (?P<HANDLE> \n \n ^Handle \s+ (?P<_hex> 0x[0-9a-fA-F]+) \s*, \s* DMI \s+ type \s+ (?P<_dmi> \d+ ) \s*, \s* (?P<_bytes> \d+ ) \s+ bytes \s*? ^(?P<_hname> \w [^\n]*) $ ) | (?P<KEYVAL> ^ \t (?P<_key> \w [^\n\t:]* ) [ ]* : [ ]+ (?P<_val> [^\n\t]+ ) $ ) | (?P<LIST> ^ \t (?P<_lname> \w [^\n\t:]* ) [ ]* : [^\n]* (?P<_lvals> (?: \n \t\t (?P<_lval> \S [^\n]* ) ) * ) $ ) | (?P<_WHOOPS_> \S[^\n]* )
"""
gmx

Description

Loading markdown...
Submitted by Paddy3118 - 4 months ago