Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2018-01-27 17:39
Flavor·PCRE (Legacy)

/
^((spotify:track:)|(https?:\/\/((open)|(play))\.spotify\.com\/((track)|(album)|(artist))\/))[[:alnum:]]{22}
/
g
Open regex in editor

Description

Pattern to match any possible spotify link as of july 2017.

Submitted by anonymous