Regular Expressions 101

Community Patterns

Goto next code field

1

Regular Expression
Python

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

Description

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

Submitted by anonymous - 9 years ago