Regular Expressions 101

Sponsors

Library entries

0
dotnet

15.02.2022 15:00:00

15.02.2022 15:00:00
Submitted by anonymous - 13 minutes ago
0
dotnet

Minimum 10 herhangi dijit

Minimum 10 herhangi dijit
Submitted by anonymous - 16 minutes ago
0
dotnet

USD

USD
Submitted by anonymous - 17 minutes ago
0
dotnet

01 Jan 2022 Mon 01:02:03

01 Jan 2022 Mon 01:02:03
Submitted by anonymous - 19 minutes ago
0
dotnet

^[A-Z,a-z,\-, ,\&]+$

Koray Bilgi, Text-Regex
Submitted by anonymous - 23 minutes ago
0
dotnet

MMM DDD YYYY

FEB MON 2023
Submitted by anonymous - 28 minutes ago
0
python

Editoria gamecoin

Capturar editorias do site gamecoin
Submitted by anonymous - 5 days ago
0
golang

log timestamp

extract time stamp from log entry
Submitted by anonymous - 7 days ago
0
dotnet

Match IPv4 Valid

expression to capture valid IP
Submitted by anonymous - 10 days ago
0
python

Get All inst of Characters Name

Standard Script format tv
Submitted by SummerRay - 11 days ago
0
python

Tool Call

f
Submitted by anonymous - 14 days ago
0
python

Bit00:sadf::saf

Bit00:sadf::saf 提取
Submitted by anonymous - 14 days ago
0
dotnet

Get h1-6 tag

(.*?)
Submitted by OlegBel - 20 days ago
-1
python

pokernow starting new hand

asdf
Submitted by michael - 20 days ago
0
python

Skillshare matcher regex

Skillshare matcher regex
Submitted by anonymous - 25 days ago
0
dotnet

nick anme

mvp
Submitted by doppler - 25 days 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 - 3 months ago