Regular expression not working after debugging

Posted by Jaison on Stack Overflow See other posts from Stack Overflow or by Jaison
Published on 2009-07-10T14:38:23Z Indexed on 2010/05/12 21:04 UTC
Read the original article Hit count: 272

I have an ASP.NET website with a regular expression validator text box.

I have changed the expression in the regular expression validation property "validator expression" and after compiling (rebuild) and running, the validation CHANGEs are not reflecting.

The previous validation is working fine but the changed validation is not working.

Please help me!

edit:

First code:

([a-zA-Z0-9_-.]+)\@((base.co.uk)|(base.com)|(group.com))

Second code:

@"([a-zA-Z0-9_\-.]+)@((base\.co\.uk)|(base\.com)|(group\.com)|(arg\.co\.uk)|(arggroup\.com))"

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about visual-studio-2008-expres