Regular Expressions 101

Sponsors

Library entries

0
golang

log timestamp

extract time stamp from log entry
Submitted by anonymous - 4 days ago
0
golang

Golang Get variables In Js

To get
Submitted by anonymous - a month ago
0
golang

Date String ISO Pattern

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

IPv4 Address Validation Regex

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

super regex

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

S3 Path with ending .json

S3 Path with ending .json
Submitted by Sowmith - 5 months ago
1
golang

1

11
Submitted by anonymous - 5 months ago
0
golang

nginx access regex loki

nginx access log regex
Submitted by Lethisa Putri - 6 months ago
0
golang

匹配邮箱

[A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+) `
Submitted by Lintao - 8 months ago
0
golang

Golang Docker matcher

Used by me for docker-retagger
Submitted by Roman Minebaev - 9 months ago

AEM access.log - field extraction for SPLUNK

Vote

0

Regular Expression
pcre2

/
^(?<aem_access_remote_ip>\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})\s(?<aem_access_domain>\S+)\s(?<aem_access_user>\S+)\s(?<aem_access_date>\S[^:]+):(?<aem_access_bytes_out>\S+)\s(?<aem_access_GMT_offset>[^ ]+)\s"(?<aem_access_request_method>[^ ]+)\s(?<aem_access_request_path>[^ ]+)\s(?<aem_access_request_protocol>[^ ]+)"\s(?<aem_access_status_code>[^ ]+)\s(?<aem_access_request_duration>[^ ]+)\s"(?<aem_access_referrer>[^ ]+)"\s"(?<aem_access_user_agent>.*)"
/
gm

Description

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