Regular Expressions 101

Library entries

0
pcre2

Age

Match "I'm ##" or "I am ##"
Submitted by Matt - 4 hours ago
0
pcre2

IssuePattern

working pattern for Issue packages
Submitted by anonymous - 12 hours ago
1
pcre2

3 letter word finder

finds any 3 letter words in a text
Submitted by anonymous - a day ago
0
pcre2

quoted strings regex

matches quoted strings
Submitted by anonymous - 2 days ago
0
pcre2

outletId

test outlet id
Submitted by Ankit - 2 days ago
0
pcre2

fb-group

db gr
Submitted by anonymous - 2 days ago
0
pcre2

jvavo-regExp-links

To include all content checkers
Submitted by anonymous - 2 days ago
0
pcre2

converting table to repeattable command latex

for testing doc
Submitted by anonymous - 6 days ago
0
pcre2

google video 域名

google video 域名
Submitted by anonymous - 7 days ago
0
pcre2

URL Cleaner

It just cleans up urls.
Submitted by anonymous - 7 days ago
0
pcre2

silly radio

nuh uh
Submitted by anonymous - 7 days ago
0
pcre2

Are* Device

Device model Extraction from our client Are*
Submitted by anonymous - 7 days 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