Regular Expressions 101

Sponsors

Library entries

1
pcre

URL Validator (HTTP and HTTPS)

Validate one URL HTTP and HTTPS
Submitted by Joaquim - 7 hours ago
0
pcre

Mysite

Hello
Submitted by anonymous - 7 hours ago
0
pcre2

Name with title

Name with title
Submitted by anonymous - 10 hours ago
0
pcre2

CURDEPTH\([^0].*\)

CURDEPTH\(.*\)
Submitted by anonymous - 14 hours ago
0
pcre2

BACassetList

Find CMS asset entries in HTML "Table"
Submitted by anonymous - 18 hours ago
0
python

HTML Link

Get HTML Link
Submitted by anonymous - 20 hours ago
0
pcre2

Remove Whitespace

no more whitespace
Submitted by Me - a day ago
0
pcre2

ipv4

To check IPv4
Submitted by anonymous - a day ago
0
pcre2

Email

This is used for simple email validation
Submitted by Pritesh - a day ago
0
pcre2

Select Content Between Two Strings

e.g. style="SOMECSS"
Submitted by anonymous - 2 days ago
0
pcre

MBI Regex

validates against the MBI format published by CDC
Submitted by i410hlr - 2 days ago
0
pcre

Parse arguments

Parse arguments
Submitted by Ofir Yariv - 2 days ago
-1
pcre2

phone

regex for phone
Submitted by anonymous - 2 days ago
0
pcre2

links

links validation
Submitted by ahmedfawzi - 3 days ago
0
pcre2

Email Validator

Email validator.
Submitted by anonymous - 3 days ago

AEM - Author & Publisher - access.log - REGEX for SPLUNK fields

Vote

0

Regular Expression
pcre2

/
(?P<req_ip>^[\d\.]+)\s+(?P<req_identity>.+?)\s+(?P<req_user>.+?)\s+(?P<req_date>.+?)\s+(?P<req_offset>.+?)\s+"(?P<req_method>.+?)\s+(?P<req_path>.+?)\s+(?P<req_protocoll>.+?)"\s+(?P<req_code>.+?)\s+(?P<req_size>.+?)\s+"(?P<req_referer>.+?)"\s+"(?P<req_device>.+?)"
/
gm

Description

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