Regular Expressions 101

Community Patterns

1

Funny Discord Thing

.NET 7.0 (C#)
Submitted by Deniz-seckin55 - 6 months ago
1

emoji-test.txt

Python
emoji-test.txt
Submitted by anonymous - 6 months 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)