Regular Expression That Accept Indian Mobile Numbers?

Jan 4, 2011

i need a regular expression that should accept indian mobile numbers. for example...

9788812345
9876512345
7891234567
8122212345

View 3 Replies


Similar Messages:

Using Regular Expression Text Box Should Accept 1 Or 2 Or 3 Or 4 Or 5 Max Digits Numbers Only Restrict Decimal Part?

Jan 12, 2011

I need to validate the text box at server side by using regular exp which should accept 1 or 2 or 3 or 4 or 5 digits numbers .Need to restrict decimal part.

Ex: 1 or 23 or 455 or 5643 or 45667 --Should accept.

1.3, .2, 33.3 , 444.55 ,5555.99 -- should not accept.

View 3 Replies

Using A Regular Expression Validator For Numbers In A Textbox?

Jul 13, 2010

How can I use a Regular Expression Validator to ensure that only a number like 3.00 is entered into a text box?

View 1 Replies

Regular Expression To Get Two Distinct Numbers From A String?

Jun 10, 2010

Suppose i have this input string "3rd position 5th time"

I want to write a Regular Expression to get 3 and 5 in a String like this "3 5" i.e., 3 and 5 both will be in a String but having a space. 3 and 5 may be any numbers like 12 or 13 ony any other numbers. For this i wrote this Regular Expression

Dim regexpression As
String =
"^[0-9]*+[0-9]"

but its not working .I am unable to get the logic.

View 5 Replies

Regular Expression For Sequential Numbers Or Letters?

Nov 22, 2010

Need reg exp for following.

May not repeat same number or letter more than 3 times.

May not contain more than 3 sequential number or letters in a row.

View 5 Replies

Mobile Regular Expression?

Sep 17, 2010

I have one field in database Mobile No.

In that I want to put validation which accepts "+" and numbers that is not more then 15.

And in that "+" should at the first place in value.

View 1 Replies

C# - Validations For Regular Expression With Numbers Only And It Should Not Allow Spaces And Letters?

Jun 3, 2010

I have a text box which accepts CVV code of 3 or 4 numbers and im using regular expression validator
this is wat im using : is this correct way of using or not

code : ValidationExpression="(d{3,4}$"

View 1 Replies

Regex - .NET - Regular Expression That Only Excepts Numbers Divisible By 1.5?

Jan 4, 2011

I need a regular expression that only excepts numbers divisible by 1.5. I checked regex library and they have nothing on it.

View 4 Replies

How To Put Validation On Mobile Regular Expression

Mar 14, 2010

I have one field in database Mobile No.In that I want to put validation which accepts "+" and numbers that is not more then 15.And in that "+" should at the first place in value

View 2 Replies

Web Forms :: Construct A Regular Expression For The Password Textbox Which Shouldn't Accept Special Characters

Sep 16, 2010

I need to construct a regular expression for the password textbox which shouldn't accept special characters($,@,!,etc).Even whitespaces,tabs. I tried the below this accepts special characters.

<asp:RegularExpressionValidator ID="RegEx" runat="server" ControlToValidate="Password"
ErrorMessage="Password must be atleast 8 characters and include a number,alphabets upper case and lower case.
"ToolTip="Password format is not correct"
ValidationExpression="^(?=.{8})(?=.*d)(?=.*[a-z])(?=.*[A-Z]).*$">
</asp:RegularExpressionValidator>

View 3 Replies

Web Forms :: Regular Expression Validator For Numbers, Comma, And 5 Digits Behind Decimal

May 5, 2010

I am using regular expression validator for Numbers, Comma and Decimal.. The expression is given below.

mNumValidator.ValidationExpression = "^(d|,)*.?d*$"

Now I would like to have 5 digits behind decimal.

View 7 Replies

Regular Expression (C#) Remove All The Special Characters (leaving Only Numbers) In A Phone Textbox?

Mar 8, 2010

I'm wanting to remove all the special characters (leaving only numbers) in a phone textbox. Here is my current code:

Regex.Replace("(123)456-7890", "[\(\)\-\.+]", "");

View 2 Replies

Regular Expression / Input String Is Valid Based On The Given Regular Expression?

Sep 20, 2010

i have to check if an input string is valid based on the given regular expression.. this is the regular expression.

(a(bb+aaa+((ab)*bb+(aba)*aa)(a+b)*) + (b(aa+bbb+((ba)*aa+(bab)*bb)(a+b)*)

+ is an OR

* is a LOOP, it is optional, it may be done as many as a user wants.

i've tried many ways to solve the problem that my professor gave me but my knowledge isn't that enough to solve this problem..

View 3 Replies

Web Forms :: Validate Indian Mobile Number In TextBox?

May 9, 2013

i am having a textbox for mobile number.

wt should be the validation expression to show error if user enters 0000000000 or 1111111111 or?

and i want the number to start either form 9 or 8 or 7.

View 1 Replies

Web Forms :: Validate Indian Mobile Number Format In Windows App

May 7, 2015

How to validate india mobile number format in c# windows application

View 1 Replies

Web Forms :: Text Box Should Accept Only Numbers?

Oct 19, 2010

i want a text box in asp that should take only numbers if we enter alphabets or special characters that should give an error how can i achive this

View 8 Replies

Possible To Get The CompareValidator To Accept Numbers With Commas?

Aug 31, 2010

I had been doing a type check for Double for an input field on a web page but now I need to allow commas. Can this be done using a CompareValidator or do I need to use a regex validator?

View 1 Replies

Web Forms :: Regular Expression Validator / Add Wording To Current Expression:  W+([-+.']w+)*@w+([-.]w+)*.w+([-.]w+)*?

Feb 16, 2010

I'm trying to use the validator to work on a email form to ensure that they enter a valid from email address. That part works. I also want to add to the expression the text that I pre-populate in the txtbox ("Enter your email address") so on postback, after sending the message, I can clear the fields and repopulate that box.

How do I add that wording to the current expression: w+([-+.']w+)*@w+([-.]w+)*.w+([-.]w+)*

View 4 Replies

Visual Studio -to Accept Just Numbers On A TextBox When Typing?

Jun 21, 2010

I have a TextBox & I want to accept just numbers in this TextBox when typing?

View 3 Replies

Web Forms :: Validation Expression For Regular Expression Validator?

Feb 2, 2011

I am using Regular Expression validator for a text box. The below is working fine.It is not performing validation when I enter values like 0000..001.How can I modify validation expression? But it would allow values like 100,...5000 i.e zeros after a number.

<asp:RegularExpressionValidator ID="reg2" runat="server" ControlToValidate="rng2"
ValidationExpression="^[0-9]+" ErrorMessage="*Please Enter a Valid Number for Second Range."
ForeColor="Red" Font-Bold="True"></asp:RegularExpressionValidator>

View 2 Replies

Web Forms :: How To Add Validation So It Doesn't Accept Empty Strings Or Numbers

Jan 6, 2010

i am using a search box for my application which returns a dataset. however when i click on the search button it returns an empty table result. how could i add validation so it doesnt accept empty strings or numbers.

View 9 Replies

Regex - Regular Expression And Validation Expression ?

Dec 1, 2010

I need some help in regular expression.I am validating the textbox text when updating the records.When i click the update button,the first 5 letters should be equal to CM000 or cm000.How to validate this using regular expression in asp.net. does anyone know validationexpression for this.

View 1 Replies

Web Forms :: Validate Textbox To Enter Only Numbers For Mobile Number

May 7, 2015

How to validate textbox to enter oly numbers for mobile no?

View 1 Replies

Mobile And Regular Web Browsers?

Aug 5, 2010

I am designing ASP.net Web pages and not sure if this would be the right way to do this.I am designing the web sites that will be accessed from either regular computers or mobile devices (phone).I was thinking to detect at very first page that whether users are coming from mobile browser or regular browser and direct to appropriate pages. So for mobile users, create/display separate UIs (rearrange controls to fit on mobile device) and for regular users, create/display separate UIs. The backend functionalities will be same, but just the UIs. Therefore, in this case I will create two separate projects in same solution, one for mobile UIs, and other one for regular UIs, but same code behinds.

View 3 Replies

C# - Regular Expression For Dd-MMM-yyyy And Dd-MMM?

Oct 4, 2010

I need a regular expression for support both date formats dd-MMM-yyyy and dd-MMM.

Ex:

04-Oct-2010
04-Oct
04-OCT-2010
04-OCT

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved