Regular Expressions 101

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
#begin regex (?: #artist (?: (.*?) #end artist ) #feat (?: (?:\s?[(]?\s? (?:(?:featuring|feat|ft)(?:\.?\/?)(?:\s?) (?:(.*?) (?:\s?[)]?\s? #end feat ))))) #feat closed #title (?: (?:\s?[-)]\s? (?:(.*?) #end title )?)?) #title closed #remix (?: (?:\s?[(]\s? (?:(.*?) (?:\s?[)]\s? #end remix )))) #remix closed #post-feat (?: (?:.*? (?:\s?[(]?\s? (?:(?:featuring|feat|ft)(?:\.?\/?(.*?)) (?:\s?[)]\s? #end post-feat )?)?)?)?)$ #post-feat closed #end regex )$ #regex closed
/
x

Description

no description available

Submitted by Ryan Faricy - 7 years ago