Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Python

r"
(?![[{()\]}":',;]*$)[[{(,;\"'=]+[[{()\]}"' *+,;]*(?!$)
"

Description

Finds the next 'fieldish' part of the code like after equals or brackets or comma.

Submitted by anonymous - 10 years ago