473,396 Members | 2,013 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Validation Expression

I need to know how to enter the ValidationExpression for 6 or more
characters

I know ValidationExpression=\w{6} only allow 6 characters but I want it to
be at least 6 or more and I only want numbers and letters no special
character.

Can you help me

Thanks.

momo.
Nov 17 '05 #1
4 2320
sure momo

it's ValidationExpression/=-+u/w/t6+

lessless
Nov 17 '05 #2
Road Warrior
I tried that and it did not work. i want to make I got this right.

I tired both
ValidationExpression = "/=-+u/w/t6+"

and this

ValidationExpression="-+u/w/t6+"

And it did not work

"Road Warrior" <sp*****@getbounced.net> wrote in message
news:O%****************@TK2MSFTNGP09.phx.gbl...
sure momo

it's ValidationExpression/=-+u/w/t6+

lessless

Nov 17 '05 #3
momo please feel free to call me by my given name...lessless

try this one:

ValidationExpression = "/=-+u/w/t6+iamsostupidimightnotfigurethisout"

hope that helps

lessless

"momo" <se**********@seeourweb.com> wrote in message
news:ex**************@TK2MSFTNGP09.phx.gbl...
Road Warrior
I tried that and it did not work. i want to make I got this right.

I tired both
ValidationExpression = "/=-+u/w/t6+"

and this

ValidationExpression="-+u/w/t6+"

And it did not work

"Road Warrior" <sp*****@getbounced.net> wrote in message
news:O%****************@TK2MSFTNGP09.phx.gbl...
sure momo

it's ValidationExpression/=-+u/w/t6+

lessless


Nov 17 '05 #4
"momo" <se**********@seeourweb.com> wrote in
news:OT**************@tk2msftngp13.phx.gbl:
I need to know how to enter the ValidationExpression for 6 or
more characters

I know ValidationExpression=\w{6} only allow 6 characters but I
want it to be at least 6 or more and I only want numbers and
letters no special character.


Try this:

^(\w|\d){6,}$

Hope this helps.

Chris.
-------------
C.R. Timmons Consulting, Inc.
http://www.crtimmonsinc.com/
Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Geoff Soper | last post by:
I've been looking for a simple way of checking that a string is an e-mail address. I don't need to check if the address exists, just if the format of the string matches. There seem to be lots of...
3
by: arc | last post by:
I have a server object that performs zipcode validation based on zipcode entered in the web form. Ideally this should work as follows: Once the zip code is entered in the edit box it should...
18
by: Steve | last post by:
Hi I have a really weird problem and any assistance would be welcome. I have developed an app in Access 2002. The app runs perfectly on the development machine. I have packaged the app using...
6
by: Chuck | last post by:
A97. A database has a table: tblA which has a single text field, B. It is a primary field, indexed and no duplicates. It is used as a lookup for table tblC. A form based on tblA is used to add...
5
by: JIM.H. | last post by:
Hello, I have this validation expression: ^(?:(?:0?|1)|(?:0?|11)(?!\/31)|(?:0?2)(?:(?!\/3|\/29\/(?:(?:0||)00|(?:\d{2}(?:0||))))))\/(?:0?||3)\/\d{4}$ This is supposed to match MM/DD/YYYY it is...
2
by: ticars | last post by:
I have a telephone number user control in which I need to validate the data entered (Required field validation and regular expression validation). The phone number is represented as 3 text boxes...
2
by: Jeff | last post by:
hey asp.net 2.0 I have a textbox on my webpage. I want to validate that the user has entered a number and not text. So I added a RegularExpressionValidator to the form, and set its...
5
by: paul_zaoldyeck | last post by:
does anyone know how to validate an xml file against multiple defined schema? can you show me some examples? i'm making here an xml reader.. thank you
2
by: pintu | last post by:
Hi I am writing a validation expression for the followings 1)EPF/chp15_v3.htm#p33 or 2)EPF/chp15_v3.htm I wrote the validation expression as *\.(htm|html)\#*$
2
by: jack | last post by:
Im a new bee in validation Im just in the design phase of the project and not thinking about having a saperate validaion block. Just browsed through validaion block of enterprise library which...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.