Regular Expressions 101

Sponsors

Library entries

-1
pcre2

Eide Chrysler New Goal

no description available
Submitted by anonymous - 2 years ago
-1
pcre2

Url regex

no description available
Submitted by anonymous - a year ago
-1
pcre2

LinuxOSVersion

no description available
Submitted by anonymous - a year ago
-1
pcre2

From conf table to hive table

no description available
Submitted by anonymous - a year ago
-1
pcre2

smargs

smargs not margins
Submitted by rkatz - a year ago
-1
golang

rtrtr

gtgtg
Submitted by anonymous - a year ago
-1
pcre2

T

T
Submitted by me - a year ago
-1
pcre2

bl_regex_fees_types_2

guif
Submitted by guif - 5 months ago
-1
pcre2

1

1
Submitted by anonymous - 3 months ago
-1
pcre2

213

12312
Submitted by anonymous - 3 months ago
-1
pcre2

slug numeric

pattern to validate a slug with numbers
Submitted by mestri.rodrigo - 2 months ago
-1
pcre2

is

Hi it is me
Submitted by anonymous - 2 months ago
0
golang

aprs

no description available
Submitted by anonymous - 4 years ago
0
golang

Action Rec

no description available
Submitted by anonymous - 4 years ago

Validate Syslog Messages

Vote

2

Regular Expression
pcre

/
<(?'Priority'[0-9]{1,3})>(?'Date'[a-zA-Z]{1,3}\s(?(?=\s)\s|[0-9])[0-9])\s(?'Time'(?:[0-1][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9])\s(?'Host'(?(?=\d)(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)+)|\w+)\s(?'Message'.+$)
/

Description

Loading markdown...
Submitted by dislick - 10 years ago