Regular Expressions 101

Community Patterns

10

entity

Python
no description available
Submitted by anonymous - 8 years ago
5

Form Tag

Python
Form Tag
Submitted by Jay Patel - 8 years ago
5

psswd

Python
no description available
Submitted by anonymous - 8 years ago
5

Match Only Text

Python
no description available
Submitted by anonymous - 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)