Regular Expressions 101

Sponsors

Library entries

1
pcre

demo

no description available
Submitted by anonymous - 6 years ago
1
javascript

dni con letra

dni con letra
Submitted by cda - 6 years ago
1
javascript

moj test regex

regex sa vezbi
Submitted by Mladen - 6 years ago
1
pcre

Resolve-LowVoltage

LowVoltage regex
Submitted by anonymous - 6 years ago
1
pcre

LiteralMatch int/float

For matching numeric literals in equations
Submitted by Anttij - 6 years ago
1
javascript

meraki device name

no description available
Submitted by anonymous - 6 years ago
1
pcre

__('

get all messages which start with __('
Submitted by RO - 6 years ago
1
pcre

gets youtube link in plaintext

no description available
Submitted by Mardan - 6 years ago
1
pcre

Panasonic TDA, TDE Log parser

Log parser from SMDR protocol
Submitted by KNet.CYBORG™ - 6 years ago
1
javascript

Basic URL

Matches basic URLs and fails on things that aren't
Submitted by anonymous - 6 years ago
1
pcre

Craegmoor

Map data
Submitted by anonymous - 6 years ago
1
pcre

Password

no description available
Submitted by anonymous - 6 years ago
1
pcre

Passnr

no description available
Submitted by anonymous - 6 years ago

fluentd + auditd

Vote

1

Regular Expression
pcre

/
(^type=AVC msg=audit\((?<time>\w+).*: apparmor=\"(?<resolution>\w+)\" operation=\"(?<operation>\w+)\"( profile=\"(?<profile>[^ ]+)\"){0,1}( name=\"(?<name>[^ ]+)\"){0,1} pid=(?<pid>\d+) comm=\"{0,1}(?<comm>[^ ]+)\"{0,1}( requested_mask=\"(?<requested_mask>\w+)\" denied_mask=\"(?<denied_mask>\w+)\" fsuid=(?<fsuid>\d+))?|^type=(?<type>\w+) msg=audit\((?<time1>\w+).*: pid=(?<pid1>\d+) uid=(?<uid>\d+) .* msg='(?<message>.*)'|type=NETFILTER_CFG msg=audit\((?<time2>\w+).*: table=(?<table>[^ ]+) family=(?<family>\d+) entries=(?<entries>\d+)|type=ANOM_PROMISCUOUS msg=audit\((?<time3>\w+).*: dev=(?<device>[^ ]+) prom=(?<prom>\d+) old_prom=(?<old_prom>\d+).*)|type=DAEMON\w+ msg=audit\((?<time4>\w+).*: (?<message1>.*)|type=CONFIG_CHANGE msg=audit\((?<time5>\w+).*: (?<message2>.*)
/

Description

Loading markdown...
Submitted by anonymous - 6 years ago