Regular Expressions 101

Sponsors

Library entries

0
pcre

Select Topmost HTML Tags

no description available
Submitted by Guilherme C. Souza - 8 years ago
1
pcre

Teste

teste
Submitted by MeuChapeu - 8 years ago
1
pcre

Get id number from url

no description available
Submitted by Marek Ulwański - 8 years ago
0
pcre

Match PHP define

Matches PHP define("CONSTANT", "VALUE)
Submitted by xZero - 8 years ago
1
pcre

Access Log

cisco
Submitted by anonymous - 8 years ago
0
pcre

Find li tag with "word"

Find li tag with "word"
Submitted by Sazar - 8 years ago
0
pcre

Phone numbers

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

CVE descriptors

no description available
Submitted by Noir - 8 years ago
1
pcre

vIESTATE

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

prevent-sanitzation

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

spot2-test

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

pERMUTACION 1

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

Email regex

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

zypper

no description available
Submitted by anonymous - 8 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