Regular Expressions 101

Library entries

-171
pcre

gfdgfsdgsfdg

no description available
Submitted by anonymous - 10 years ago
-75
pcre

link

no description available
Submitted by anonymous - 10 years ago
-52
pcre

ddasgfsfds

no description available
Submitted by fs - 10 years ago
-36
pcre

E-mail validation regex

no description available
Submitted by anonymous - 10 years ago
-34
pcre

your mom

aasdf
Submitted by your mom - 9 years ago
-22
pcre

г.москва

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

dd-mm-YYYY HH:mm:ss (year range 1000-2999)

no description available
Submitted by Ka. - 10 years ago
-10
pcre

need help

no description available
Submitted by sachin - 9 years ago
-10
pcre

test

no description available
Submitted by test - 9 years ago
-8
pcre

Regular exp to exclude a domain

to exclude one domain abc.com
Submitted by Sandy - 10 years ago
-7
pcre

hi

no description available
Submitted by asf - 9 years ago
-4
pcre

Twitter hashtags extractor

Extract hashtags from text
Submitted by anonymous - 9 years ago
-4
pcre

For telephone

This is for telephone pattern +1 123-123-1234
Submitted by kevin - 8 years ago
-4
pcre

IP Address Validation

List of possible IPs
Submitted by Paolo Carrasco - 8 years ago
-3
pcre

Browser regex

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

test2

no description available
Submitted by anonymous - 9 years ago

How to document a Regex? Example 2

Vote

1

Regular Expression
pcre

/
((?# Capturing group for the type name) \/+(?# Start with / or // ) [^\/\[\]]+(?# Type name exclusing start of attribute and next type) (?:(?# Non-capturing group for the attribute) \[(?# Start of an attribute) [^\]']*(?# Anything but end of attribute or start of string) (?:(?# non-capturing group for string) '(?# string start) [^']*(?# anything inside the string, except end of string) '(?# string end) )(?# end of string group) \](?# end of attribute) )?(?# Attribute can occur 0 or one time) )+(?# Type can occur once or many times)
/

Description

Loading markdown...
Submitted by Thomas - 8 years ago