Regular Expressions 101

  • PCRE (Legacy)
  • Match
0

Regular Expression

/
(?:\b(T\s|void\s)(\w+<T>)\(.*\);|(\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