Regular Expressions 101

Sponsors

Library entries

0
pcre2

regex html tag

$subject = 'asdasdsdsa'; $pattern = '^(.+)?';
Submitted by anonymous - 2 months ago
0
pcre2

passw125

^(?=.\d)(?=.\W)(?=.*[a-zA-Z]).{6,8}$
Submitted by AS - 2 months ago
0
pcre2

sdsds@needemand.com

sdsds@needemand.com
Submitted by anonymous - 2 months ago
1
pcre2

Chinese Phone Number

匹配中国🇨🇳大陆手机号码
Submitted by Akko - 2 months ago
0
pcre2

Русские маты

Матчит русские маты
Submitted by piterden - 2 months ago
0
pcre2

fsda

asdfadfa
Submitted by anonymous - 2 months ago
0
pcre2

Replace 2 or more whitespace

Replace 2 or more whitespace
Submitted by blacksmithop - 2 months ago
0
pcre2

CmdLineRaw

CmdLineRaw
Submitted by anonymous - 2 months ago
0
pcre2

Syslog

Grouping for standard ubuntu server syslog messages.
Submitted by Jason King - 2 months ago
0
pcre2

GF API Scan

using gf I wan to scan apis better
Submitted by Chase Jensen - 2 months ago

Governing Law matcher

Vote

0

Regular Expression
pcre2

/
((?:[A-Z]\w+).+?(?i)(?:agreement|amendment|addendum|contract|license|rights(?: and obligations)?|laws?|terms)(?!\.).+?(?:governe?d?|controll?e?d?|interprete?d?|construed?|appl(?:ied|y)|determined?).+?(?:laws?|provisions?|matters).*?\.)
/
gm

Description

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