Regular Expressions 101

Sponsors

Library entries

2
pcre

Repetitions

More than three words repeated in 3.
Submitted by paconaranjo - 9 years ago
2
pcre

HTTP url parser

Parses a URL to the different parts
Submitted by AmitK - 8 years ago
2
pcre

named group sample

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

Match subset

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

Parse keywords from search string

no description available
Submitted by @bananascript - 8 years ago
2
pcre

parse images

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

Regex Capture String

Capture out Parts using regular expressions
Submitted by Brandon - 8 years ago
2
pcre

Li match

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

find numeric groups in strings

no description available
Submitted by Vovan - 8 years ago

Regex to find if/while constructs

Vote

2

Regular Expression
pcre

/
(^if|^while|[ ;}\n]if|while)[ ]*([(]([^()]|(?2))*[)])
/
g

Description

Loading markdown...
Submitted by Deepak Subramanian - 7 years ago