Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

~
#(!->|->|!)*(\w|\')+(?![^<]*[]>|[^<>]*<\/)
~
gu

Description

This regexp is used in the SPIP cms for create tags fastly when you are writting a post.

Submitted by pierre.laszczak@gmail.com - 9 years ago