Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
(?P<type>UNI)(?:::)(?P<sa>[0-9]{4,7}|_)?(?:::)(?P<cid>[a-zA-Z-0-9/._-]{8,}|_)?(?:::)(?P<ip>\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}|_)?(?:::)(?P<desc>[\w#()/-]*)
"
gm

Description

no description available

Submitted by anonymous - 5 years ago