Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
(static\s*){0,1}\w{1,}\s{1,}\w{1,}\s*\(.*\)[^;]
"
gm

Description

(static\s*){0,1}\w{1,}\s{1,}\w{1,}\s*(.*)[^;]

Submitted by anonymous - 2 years ago