Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
^[^:]*((array|unassigned)*)[^:]*\n$
"
img

Description

This does not work.
Needs to find all lines with the word array OR unassigned except for lines with a ':' character.

Submitted by anonymous - 6 years ago