Regular Expressions 101

Sponsors

Library entries

0
pcre2

Find SQL injection opportunities

-
Submitted by anonymous - 15 days ago
0
python

Tool Call

f
Submitted by anonymous - 15 days ago
0
pcre2

gitignore example

gitignore example
Submitted by anonymous - 15 days ago
0
pcre2

yoloroy stackoverflow solution 75206529

solution for this
Submitted by yoloroy - 15 days ago
0
python

Bit00:sadf::saf

Bit00:sadf::saf 提取
Submitted by anonymous - 15 days ago
0
pcre2

Cleaning regex

Regex to find unwanted characters
Submitted by Dávid Čano - 16 days ago
0
pcre2

Worse smartctl regex

Regex for smartctl output, but worse.
Submitted by anonymous - 16 days ago
0
pcre2

smartctl regex

Regex for smartctl output
Submitted by anonymous - 16 days ago
0
javascript

US|CA dollar

US|CA dollar regexp
Submitted by cagatayucar - 18 days ago
0
javascript

Percentage only

Percentage only
Submitted by cagatayucar - 18 days ago
0
javascript

Tel

Válida números de telefone
Submitted by Mateus - 19 days ago
0
pcre2

sub regex

regex for took sub name with branch name
Submitted by anonymous - 19 days ago
0
pcre2

Branch kanwil

regex for took branch name with sub name
Submitted by anonymous - 19 days ago
0
pcre2

Area Only

Regex for took area name only
Submitted by anonymous - 19 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