Regular Expressions 101

Sponsors

Library entries

0
pcre

SC23

SC23
Submitted by 00 - 23 days ago
0
python

Email id extraction

extracting email id from given string
Submitted by anonymous - 23 days ago
0
javascript

UPI ID regex

regex to detect or extract UPI ID
Submitted by anonymous - 23 days ago
1
pcre

Polynom

Regex to get polynomial coefficients
Submitted by Balandin Igor - 25 days ago
-1
pcre2

slug numeric

pattern to validate a slug with numbers
Submitted by mestri.rodrigo - 25 days ago
0
python

lua_pattern

lua file name
Submitted by anonymous - a month ago

Readable fail2ban logs in AWS Cloudwatch

Vote

0

Regular Expression
pcre2

/
,"(?<date>\d\d\d\d-\d\d-\d\d)\ (?<time>\d\d:\d\d:\d\d).*\[(?<jail>sshd|recidive|mysqld-auth)\]\ (?<action>[a-zA-z]*)\ (?<ip_address>[\d\.]*)
/
gm

Description

Loading markdown...
Submitted by dtwx - 2 months ago