Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
(^|[\s\>[:punct:]])(Lorem)($|[\s\<[:punct:]])(?![^<]*>|[^<>]*<\/)
/
ig

Description

Regex of the TYPO3 Extension dpn_glossary. It ignores the children of the fetched content.

http://bit.ly/dpn_glossary

Submitted by Daniel Dorndorf - 10 years ago