Regular Expressions 101

Community Patterns

SoundCloud

1

Regular Expression
ECMAScript (JavaScript)

/
(http|https):\/\/(?:www\.)?soundcloud.com\/((?:[^\W_]|-)){3,255}\/(sets|((?:[^\W_]|-){3,255}))(\/((?:[^\W_]|-){3,255})|(\?in=((?:[^\W_]|-){3,255})\/((?:[^\W_]|-){3,255})\/((?:[^\W_]{3,255}|-))|))
/
g

Description

Matches links to songs, playlists and links when clicked from a playlist.

Submitted by Jurij - 8 years ago