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 » VB » regex
  • Numeric Validation

    HI I am new to regular expressions BUT I am trying to create a regex that will validate numeric input where the number can be zero (0), positive (123), negative (-123), a decimal positive(123.123), a decimal negative (-123.123) but the decimal could be up to 8 places (123.12345678)  There are lots of examples that do part of what I ...
    Posted to Discussion (Forum) by jamesgileslang on January 28, 2008
  • .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