Regular Expressions 101

Sponsors

Library entries

0
pcre2

id_name_fb

get id, name from fb link
Submitted by anonymous - a day ago
0
pcre2

basic email validation

Basic email regex for quick validation
Submitted by bUxEE - a day ago
0
javascript

itemku regex youtube

sdfsdfsdf
Submitted by anonymous - a day ago
0
pcre2

RTDM_Thread_Pool

RTDM_Thread_Pool
Submitted by anonymous - a day ago
0
pcre2

Validation

^a-zA-Z+@[a-zA-Z]{3,20}\.[a-z]{3}$
Submitted by anonymous - 3 days ago
0
javascript

Date Validator

Submitted by anonymous - 4 days ago
0
javascript

111

111
Submitted by Alex - 4 days 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