Regular Expressions 101

Library entries

0
pcre2

匹配代码块

用来匹配markdown里面的代码块
Submitted by anonymous - a day ago
0
pcre2

asd

asdf
Submitted by anonymous - 2 days ago
0
pcre2

Achternaam

Check on achternaam
Submitted by anonymous - 2 days ago
0
pcre2

Pull Quote regex

Get quote text and author
Submitted by sunilP - 2 days ago
0
pcre2

RegEx

Examples
Submitted by anonymous - 3 days ago
0
pcre2

EmailValidation

This is an Email validation using RegExp.
Submitted by anonymous - 3 days ago
0
pcre2

Age

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

IssuePattern

working pattern for Issue packages
Submitted by anonymous - 4 days ago
1
pcre2

3 letter word finder

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

quoted strings regex

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

outletId

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

fb-group

db gr
Submitted by anonymous - 6 days ago
0
pcre2

jvavo-regExp-links

To include all content checkers
Submitted by anonymous - 6 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