Regular Expressions 101

Library entries

stripping annotations from pre-NewsML transcripts

Vote

1

Regular Expression
pcre

/
(^|[.\?\!]\s+)(([A-Z][A-Za-z\'\-]+)\.?\s+)*([A-Z][A-Z\'\-]*\.?)(\s+[A-Z][A-Z\'\-]*\.?)*,?(\s+([A-z][A-z\'\-]+))*(\s*\([^\(\)]*\))?:(\s*\([^\(\)]*\))*
/
gm

Description

Loading markdown...
Submitted by Brian D'Astous - 7 years ago