Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Created·2020-08-01 20:25
Flavor·Python

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

Description

A single regex with the AND operator instead of OR

Submitted by anonymous