Regular Expressions 101

Sponsors

Library entries

0
pcre

NMEA after timestamps

Picks up (most?) NMEA messages.
Submitted by David Harrison - 5 days ago
0
golang

Golang Get variables In Js

To get
Submitted by anonymous - 21 days ago
0
pcre

decamelize

pascal case to snake case
Submitted by anonymous - 23 days ago
0
golang

Date String ISO Pattern

Date String ISO Pattern matcher
Submitted by Lucas Morais - a month ago
0
pcre

Filtro Página web

Filtro pagina web
Submitted by anonymous - a month ago
0
pcre

Whatsapp group message id

Whatsapp group message id
Submitted by anonymous - a month ago
0
pcre

1-100

1-100
Submitted by anonymous - 2 months ago
0
golang

IPv4 Address Validation Regex

IPv4 Address Validation Regex
Submitted by ulgena - 2 months ago
0
pcre

Negative search

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

inefficient int/float(exponent)

match a single number
Submitted by anonymous - 2 months ago
0
pcre

amazIng regex

super
Submitted by anonymous - 2 months ago
0
golang

super regex

Get every word ending with dot using Regex/VBA
Submitted by anonymous - 2 months ago

AEM - Author & Publisher - error.log - RegEx for SPLUNK fields

Vote

0

Regular Expression
pcre2

/
(?P<error_date>^[\w\/\.]+)\s+(?P<error_time>[\w\/\.\:]+)\s+\*(?P<error_level>\w+)\*\s+\[((?P<error_ip>[\d\.]+)\s+\[(?P<error_thread_id>.+)\]\s+(?P<error_request_method>\w+)\s+(?P<error_urlpath>.+)\s+(?P<error_req_protocol>.+)|(?P<error_thread>.+?))\]\s+(?P<error_message>.+[\n]?.+)
/
gm

Description

Loading markdown...
Submitted by Robert Wunsch (wunsch@adobe.com) - 4 months ago