Regular Expressions 101

Community Patterns

UNIMARC embedded to standard subfield

1

Regular Expression
PCRE (PHP <7.3)

/
(?sx)(\$1200[\d ]{2}) (?:(?| \$a(?=.*(\$t)) |\$d(?=.*(\$l)) |\$e(?=.*(\$o)) |\$f(?=.*(\$f)) |\$g(?=.*(\$g)) )([^\$]*))
/
gm

Description

no description available

Submitted by anonymous - 5 years ago