Regular Expressions 101

Sponsors

Library entries

1
pcre2

2

2
Submitted by anonymous - a year ago
1
pcre2

Gitlab - Branch name

Branch name for Gitlab's Push Rules
Submitted by anonymous - a year ago
1
pcre2

Gitlab - Commit message

Commit message for Gitlab's Push Rules
Submitted by anonymous - a year ago
1
pcre2

aws-arn-parser

this helps in parsing aws arn's
Submitted by anonymous - a year ago
1
java

标点

匹配大部分标点
Submitted by anonymous - a year ago
1
pcre2

One or more spaces

Find one or more spaces
Submitted by anonymous - a year ago
1
java

sfdgvsdgdfg

dgfdgdf
Submitted by anonymous - a year ago
1
pcre2

find img without alt

okok
Submitted by anonymous - a year ago
1
pcre2

hdfilmcehennemi ana filmler

nothing
Submitted by no one - a year ago

web log entry

Vote

2

Regular Expression
pcre2

/
(?P<host>\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3})(\s-\s)(?P<user_name>[\w-]*)(\s\[)(?P<time>\w*\/\w*\/\d{1,4}:\d{1,2}:\d{1,2}:\d{1,2}\s-\d{1,4})(\]\s\")(?P<request>.*)(")
/
gm

Description

Loading markdown...
Submitted by PepeRG - a year ago