Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Python

r"
^UVM_[A-Z]*|build.+?(?=\()|[0-9]+(?=\))|(?<=@ )[0-9]+|(?<= \[).*?(?=\]\s)|(?<=: ).*?(?= \[)|((?<=\]).*())
"
gm

Description

A single regex with the AND operator instead of OR

Submitted by anonymous - 4 years ago