Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
(?:\b(\w+[<?\w+>?]*\s)(\w+)\b((\s{[get;\|private get;|set;]+)|\(.*\));)
/
g

Description

This regex will match the interface member definition withing the cs file

Submitted by Gabriel Marius Popescu - 7 years ago