Regular Expressions 101

Sponsors

Library entries

0
pcre2

正規式向後看

抓括號後的文字
Submitted by Devin - 2 months ago
0
pcre2

Semver regex

Example of regex for semver with pre-releases
Submitted by anonymous - 2 months ago
0
pcre2

Números reales

Números reales
Submitted by Carlos Osmar - 2 months ago
0
pcre2

Validación de fecha

Este código validará la fecha
Submitted by Carlos Osmar - 2 months ago
0
pcre2

Doble Espacio

Encuentra texto con toble espacio
Submitted by Carlos Osmar - 2 months ago
0
pcre

Negative search

Seach pattern that doesn't match
Submitted by Gael Langlais - 2 months ago
0
pcre2

Invoice nr

regexp search in mongo db by nr
Submitted by Tivadar - 2 months ago
0
pcre2

MySQL DATETIME

MySQL DATETIME
Submitted by anonymous - 2 months ago
0
pcre2

Split Http(s) Response

Split Http(s) Response
Submitted by anonymous - 2 months ago

Syslog

Vote

0

Regular Expression
pcre2

/
(?P<month>\S{3})? {1,2}(?P<day>\S+) (?P<time>\S+) (?P<hostname>\S+) (?P<process>.*?(?=: \[|\[|\())[^a-zA-Z0-9]{1,3}(?P<pid>.+?(?=\]|\))|)[^a-zA-Z0-9]{1,2}(?P<info>.*)
/
gm

Description

Loading markdown...
Submitted by Jason King - 3 months ago