Got more questions? Find advice on: ASP | SQL | XML | Windows
in Search
Welcome to RegexAdvice Sign in | Join | Help

Browse by Tags

All Tags » .net » New Function » VB
  • .NET VB New Sub Replace Help? Not Quite Right

    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 ...
    Posted to Discussion (Forum) by Beachnerd on January 28, 2008