Regular Expressions 101

Sponsors

Library entries

-1
pcre

Match the ID on individual Vimeo URLs

no description available
Submitted by Josh K - 9 years ago
-35
pcre

E-mail validation regex

no description available
Submitted by anonymous - 9 years ago
2
pcre

.

no description available
Submitted by anonymous - 9 years ago
2
pcre

SQL select columns

no description available
Submitted by Phan - 9 years ago
-73
pcre

link

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

regex on paintkits

no description available
Submitted by anonymous - 9 years ago
2
pcre

Basic Phone Number Verification

Verifies a phone number
Submitted by anonymous - 9 years ago
-50
pcre

ddasgfsfds

no description available
Submitted by fs - 9 years ago
-162
pcre

gfdgfsdgsfdg

no description available
Submitted by anonymous - 9 years ago
-3
pcre

Browser regex

no description available
Submitted by anonymous - 9 years ago
27
pcre

Wrap long string to spec length

no description available
Submitted by fullpipe - 9 years ago
1
pcre

Twitter Hashtags

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

Twitter Hashtags

no description available
Submitted by anonymous - 9 years ago
5
pcre

Repair unquoted HTML attribute values

Usually MSWord HTML exports
Submitted by Ka. - 9 years ago
9
pcre

Validate Base64 single-line string

no description available
Submitted by ka. - 9 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 - 9 years ago