Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2020-10-27 18:25
Flavor·PCRE (Legacy)

/
<actor=(?'actor'\w+)(?:\s(?'k1'\w+)(?:=(?'v1'\w+?|'.+?'))?)?(?:\s(?'k2'\w+)(?:=(?'v2'\w+?|'.+?'))?)?(?:\s(?'k3'\w+)(?:=(?'v3'\w+?|'.+?'))?)?(?:\s(?'k4'\w+)(?:=(?'v4'\w+?|'.+?'))?)?>(?:(?:(?'content'.+)<\/actor>(?'extra'.*))|(?'contentonly'.*))
/
gs
Open regex in editor

Description

no description available

Submitted by anonymous