RegEx *URGENT*

V

Vishal

Hi,

I used the RugularExpression class in my winforms to
validate a textfield. Now I am doing a web application but
using a RegularExpressionValidator and I am using the same
regex as in my winforms. However in my web app it only
checks for single chars instead of the complete string. Is
there any difference when using regex in Webforms and
WinForms?

Thanks!
 
M

mikeb

Vishal said:
-----Original Message-----


Nope - none that I know of.

--
Lucas Tam ([email protected])
Please delete "REMOVE" from the e-mail address when
replying.

http://members.ebay.com/aboutme/coolspot18/
.


So what can I do? My RegEx looks like this: ([0-9a-zA-Z]=
[0-9a-zA-Z])


So the regex is: "([0-9a-zA-Z]=[0-9a-zA-Z])"

But, it's hard to tell you what's wrong with the regex if you don't let
us know what you expect it to do (and the cases where it's doing
something unexpected).

So, now we need to know what your expectations are: what kinds of
strings do you expect to match? What kinds of strings do you expect NOT
to match? What strings are you having problems with?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top