0

Hello All sir,
Can any body able to give me Regular expression for validatrion string that must have atleast one alphabet,atleast one numeric value?

please help me??

4
Contributors
6
Replies
7
Views
7 Years
Discussion Span
Last Post by caperjack
0

Hello All sir,
Can any body able to give me Regular expression for validatrion string that must have atleast one alphabet,atleast one numeric value?

please help me??

A1

0

How about this:

([a-zA-Z].*\d|\d.*[a-zA-Z])

This matches an alpla followed (not necessarily immediatly) by a digit OR digit followed by an alpha.

Alpha can be upper or lower.

Gary Davis

0

How about this:

([a-zA-Z].*\d|\d.*[a-zA-Z])

This matches an alpla followed (not necessarily immediatly) by a digit OR digit followed by an alpha.

Alpha can be upper or lower.

Gary Davis

i have no idea what you are making reference to ,where is your numeric value.,

was just being funny with my A1 answer .i though the post was asking about a password .

0

Does this even belong in this forum?

im not sure , bu i guess it abou programing so it should be in programing section . i shouldn't even be in this thread .lol

Edited by caperjack: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.