Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
((([A-Z.]+\.)\s([A-z]+)(?:,\s)){1,})([^,][A-z\s\W]+)(?:,\s)([^,][A-z\s\W]+)(?:\s)([0-9]{1,3})\(([0-9]{1,2})\)(?:,\s)\((\d{4})\) (([0-9]{1,3})–([0-9]{1,})).
/

Description

reference pattern checking

Submitted by karthikeyan - 10 years ago