Regular Expressions 101

Community Patterns

-3

s

ECMAScript (JavaScript)
s
Submitted by anonymous - 10 years ago
-3

1111

ECMAScript (JavaScript)
no description available
Submitted by anonymous - 10 years ago
-3

111

ECMAScript (JavaScript)
no description available
Submitted by anonymous - 10 years ago
-3

111

ECMAScript (JavaScript)
no description available
Submitted by anonymous - 10 years ago
-3

Html Tags

ECMAScript (JavaScript)
Matches HTML structure
Submitted by sagar - 8 years ago

Validate Wikipedia URL and extract Article Title

1

Regular Expression
ECMAScript (JavaScript)

/
^((http:|https:){0,1}\/\/.*\.wikipedia\.org){0,1}(\/wiki\/|\/w\/){1}(index\.php\?title=){0,1}(?!User:|Wikipedia:|WP:|Project:|File:|Image:|MediaWiki:|MW:|Template:|Help:|Category:|Portal:|Draft:|TimedText:|Module:|Gadget:|Gadget definition:|Topic:|Education Program:|Book:|WT:|Special:|Wikipedia Talk:|Talk:|H:|CAT:|User talk:|Image Talk:|MOS:|P:|T:|Main_Page)(?<ARTICLENAME>(?!index\.php\?title=)[^&|?|\n]*)[&|?]?.*$
/
miug

Description

Loading markdown...
Submitted by Martin Shaw - 6 months ago
(Last modified 6 months ago)