|
|
Browse by Tags
All Tags » regex » .net » New Function
-
Hi Guys,
I am trying to generate some dynamic code. and need to replace the Public Sub New in vb.net
Multiline and Case ignore is on and i am using .net regex engine.
(PUBLIC|PRIVATE)\s+(SUB)\s+NEW([.\n]*|(END\s+SUB|END\s+FUNCTION))
I Needs To Match
Public Sub New() *(With Or Without Brackets) - (Can be ...
|
|
|