Regular Expressions 101

Sponsors

Library entries

1
pcre

URL Validator (HTTP and HTTPS)

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

Mysite

Hello
Submitted by anonymous - 6 hours ago
0
pcre2

Name with title

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

CURDEPTH\([^0].*\)

CURDEPTH\(.*\)
Submitted by anonymous - 13 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 - 19 hours ago
0
pcre2

Remove Whitespace

no more whitespace
Submitted by Me - 21 hours 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

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) - 5 months ago