Web Forms :: Regular Expression (Regex) To Prevent Restrict Gmail Yahoo And Hotmail Email Addresses
Feb 27, 2013In my resiter form i want users to restrict them not to enter gmail yahoo ids, only company ids would be accepted..
View 1 RepliesIn my resiter form i want users to restrict them not to enter gmail yahoo ids, only company ids would be accepted..
View 1 Repliesi am looking for a code in asp.net which can import email address from gmail,yahoo, and hotmail.com
View 2 RepliesI want to get all contact list of email from Gmail, Yahoo or Hotmail in the ASP.NET and C#.
Instead of enter username and password on my page (and call the API for authentication), I am thinking to redirect to Gmail, Yahoo and Hotmail respectively for authentication (is it something called oAuth?) and authorization (consent) ?
It should redirect back to my page with all the contact list.
I have a situation where in I need to allow the users to enter email address of yahoo only in a free textbox.Can any one let me know how do I achieve this?For E.g: If the user supplies the email id as "xxxx@yahoo.com or xxx_xx@yahoo.com, or xxx.xx@yahoo.co.uk or xxxx_yy@yahoo.co.us", I will permit him for further processing. If the user inputs the email id as "xxx@gmail.com or xxx@rediffmail.com orxxx@someothermail.com" I should display an Error Message.
View 10 Repliesi have to validate commasaperated ipaddresses or commasaperated range ip addresses
View 3 RepliesI 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 Repliesi want a regular expression to validate path. THe path is :
Server.MapPath("../Error/Feedbackdoc/" & fid & ext)
& fid & ext is the file which is uploaded.
i want to validate the path i.e. ../Error/Feedbackdoc/ and rest can be name of uploaded file.
I want to make a email service project like gmail, yahoo with small feature. I am unable to understand from where i start it. Can you provide me the complete detail to start this project.
View 6 RepliesI have a textbox in my asp.net page in which i enter Email ID.
I want that Nobody can enter more then one email id using comma separator.
So How to "Avoid Comma Separator in textbox".
How can I write regular expression in C# to validate that the input does not contain double spaces? I am using Regular Expression Validation. However I do not know what is the Validation Expression to get the result.
"white snake" : success
"white snake" : fail
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 RepliesI 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.
I am trying to login with third party Authencation to my site (c#4.0 ). have visited [URL] ....
But after authentication it will redirect me to: [URL] .... and gives error resource cannot be found.
Instead of my default page page [URL] .....
I have downloaded and added all the ddl have done all setting in web.config accordingly.
I have visited [URL] .... but unable to solve ...
I have this email, which I know is valid:
MyName@MyDomain.info
I am validating an input field with the default asp net email validator expression and it returns the email address as INVALID.
Here is my code:
<asp:RegularExpressionValidator
ID="RegularExpressionValidator1"
runat="server"
ValidationExpression="w+([-+.']w+)*@w+([-.]w+)*.w+([-.]w+)*"
ControlToValidate="Email"
runat="server"
ErrorMessage=" * "
/>
Is there a better regular expression pattern to validate an email address?
In my registration form, there is field to enter email-id of member, i want to restrict user, so that he would not able to enter gmail, yahoo, radiff.... emailids is this possible.., Only company email id eg: priyanka@juncturetech.net must be allowed?
View 1 Repliesin my application i am checking the valid email but we can give more than one emailid separating with semicolon (";").how can i write the expression. my emails look like this "sasidhar@yahoo.com;suryasasidhar@gmail.com;srinivas@gmail.com "
how can i write regular expression
I have to create a regular expression for email id like this
xyz@yahoo.com and
xyz@gmail.com
I need to allow only yahoo and gmail as the domain not any other domain. I have used this expression w+([-+.]w+)*@yahoo.com . It is working fine for yahoo. but I want to include gmail also. How can I modify it to except gmail also?
I am using ASP.NET 2.0
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..
I want to find contact list of yahoo mail using user name and password.For example i give user name and password and it will give contact list in any format like excel or word...
View 1 Replies var emailReg = /^w+([.-]?w+)*@w+([.-]?w+)*(.w{2,3})+$/;
This is my regular expression . it accepts the email such as name.name_@__domain.in How can i format my regular expression which accepts only a valid email format only. I need the email validation for above example.it is not a duplicate one.
i want to add address book in email web application then how it will be possible???
View 1 Repliesi have code for forgot password using gmail account. But i want to send password for multiple domains like yahoo,rediffmail and more.
View 1 RepliesHow import the Contacts from mails like gmail,yahoo,msn etc in asp.net
View 2 Repliesi just started learning of .NET using C#. i m working on Webmail Project. My Requirement is develop a webmail service for an internal organization in which u can send email to any domain and recieve as well as.first i need beginer training so i can send mails at simple level. currently m not able to send mails using smtp server and how to configure it.
View 7 RepliesI want to include the login page in one of the web page .The login user accounts should be used from gmail or yahoo ID's .
View 7 Replies