Regular Expressions 101

Sponsors

Library entries

1
pcre

Phone Guatemala

Regex for phones in Guatemala
Submitted by Rodrigo Polo - 7 years ago
1
pcre

30164958

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

foreach

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

foreach

no description available
Submitted by anonymous - 7 years ago
0
pcre

URL to link

http://blog.jmsinfo.co/?d=2015/02/16/10/17/49
Submitted by Mickaël S. - 7 years ago
0
pcre

For justin

dis is why you match shit lots
Submitted by anonymous - 7 years ago
6
pcre

Extract style

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

Dim name

Gets all variable names
Submitted by Tyrone Moodley - 7 years ago
1
pcre

Quote Parsing

Parses quotes and can be escaped
Submitted by Vihan B. - 7 years ago
1
pcre

aa

aaa
Submitted by aaa - 7 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 - 7 years ago