Regular Expressions 101

Sponsors

Library entries

0
pcre

Match links in html

Matches all from
Submitted by anonymous - 7 years ago
5
javascript

MAC address

a mac address separated by dashes or colons.
Submitted by anonymous - 7 years ago
1
pcre

Find php short echo tags

Find instances of Usefult to replace with
Submitted by JayCee - 7 years ago
1
pcre

Find php short open tags

Finds instances of <? instead of <?php
Submitted by JayCee - 7 years ago
0
pcre

negative lookbehind

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

111

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

url 1

no description available
Submitted by anonymous - 7 years ago
1
javascript

Absolute Date format

no description available
Submitted by Jesse Benton - 7 years ago
1
pcre

Parsing BWPROMO

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

find variant in uri

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

get last uri segment ending in number

no description available
Submitted by Ben - 7 years ago
1
pcre

remove tinymce id's

no description available
Submitted by anonymous - 7 years ago

EIS Chef Runlist Regex

Vote

1

Regular Expression
pcre

/
^((?'EMPTY'(""))|'(?'recipe'(\s*recipe\[\w+::\w+@((?'MAJOR'(?:0|(?:[1-9]\d*)))\.(?'MINOR'(?:0|(?:[1-9]\d*)))\.(?'PATCH'(?:0|(?:[1-9]\d*))))],*\s*))+')$
/
gm

Description

Loading markdown...
Submitted by anonymous - 7 years ago