Regular Expressions 101

Library entries

match C# class definition

Vote

1

Regular Expression
pcre

/
(public|private|protected|internal)?( )+class( )+([a-z_][a-z0-9_]*)( )*((:|,)( )+([a-z_][a-z0-9_]*)( )*)*{
/
gi

Description

Loading markdown...
Submitted by luan castro (@castrolol) - 6 years ago