I just tested it with the \w instead, now it wont accept special characters. When I use the {8,}, it's requiring at least 14 characters or it wont work. By changing it to {2,} it only needs 8, but it still wont accept something like:
hello12D
Because there's no uppercase in the front, only...
Sorry about that, it actually should be the following to handle the no spaces as well:
^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?!.*\s).{8,}$
I'm using VS2005 and .NET 2.0. Just very random behavior it seems. Will changing the '.' to '\w' allow for any characters, special or not, as long as the...
Hello. I've been trying to get passwords on new user registrations restricted to have at least 1 uppercase letter, 1 lowercase letter, 1 number, no spaces, and be a minimum of 8 characters long. I'm pretty positive I've got the right regular expression (I got it off of regexlib.com) but for...
I think I got it figured out. I had the label inside the createuserwizard control, and though it DID show for my custom first step (where I ask for the user address and stuff), it did NOT show up for the actual "enter username/password" step. So I moved the label outside of the control and now...
OK, here's the two parts in question:
Private Function ProcessString(ByVal pass As String, ByVal user As String) As Integer
Dim thepass As String = pass
Dim theuser As String = user
Dim theuserlower As String = user.ToLower()
Dim theresult As Integer = 0...
Hello. I'm using ASP.NET 2.0 and I have a page that does user registration. I've had it all working fine for a while until I noticed a couple things that it wasn't checking. It wasn't checking to see if the email entered was a real email (by format) so I had to use a regularexpression...
Yes, I was actually thinking about getting the NSLU2 or some other similar device, though it seems the only other one widely used is the DLink version which doesn't appear to be that great. I have no problems flashing the drive and such, I'm an Administrator and programmer and have been forever...
Hello. Though I read several reviews and did 'some' research before I purchased anything, I was a bit too foolish and quick to do so. What I mean is, I recently purchased a Ximeta (or Klegg) NetDisk NDAS 500GB external drive as well as a D-Link DSM-520 Wireless media receiver. My intentions...
Nevermind, I found that if you change the validator control validationgroup to the same name as the createuserwizard, all works great. Damn the fine print Microsoft! :)
http://downloads.littlbuger.info
"Only two things are infinite, the universe and human stupidity, and I'm not sure about the...
Hello. I've had a site with a user registration page for a while using the createuserwizard control and everything has been working just fine. There's even requiredfield validators for each field so that nothing is missed. The problem recently surfaced when I added another validator, a...
Actually I think I got it now...
^[A-Za-z]\w{5,19}$
Minimum 6 chars, max 20, no numbers as first char, no special chars. It was the dollar sign at the end that seemed to fix it. Thanks for the help and sorry to bother you over something so simple. :)
http://downloads.littlbuger.info...
I've actually been trying the following out:
^[A-Za-z]\w+
at this site: http://www.codehouse.com/webmaster_tools/regex/
And I keep getting varying results. Meaning it doesn't allow a number to be entered as first char, which is good, but it'll allow certain special chars, which isn't good...
^[A-Za-z]\w(?![!@#$%^&*.])
I'm trying to allow all alpha-numeric characters and no special characters. I'd also like to force the first character to be a letter instead of a number, but I'm just not sure if the above is correct...
http://downloads.littlbuger.info
"Only two things are...
Though I thank you for your reply, I still can't seem to get a regular expression working just right for my scenario. Can someone please help or suggest a different method? Thanks.
http://downloads.littlbuger.info
"Only two things are infinite, the universe and human stupidity, and I'm not...
Hello. I have an ASP.NET 2.0 website using the "built-in" ASP user management/roles/registration and whatnot. I've created a wizard on a page to do the user registration. One thing I've noticed is that though users can register with spaces in their usernames, anything else other than letters...
Thank you for the helpful link to that XML writer. I will see what I can do. :)
http://downloads.littlbuger.info
"Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." - Albert Einstein
That link you posted was the exact article I was talking about! With my reports though, because things are so dynamic or random, I'm thinking it would be very hard to do that and take way too much time, which I also don't have.
As for Excel's object library, please elaborate what you mean...
Hello. I'm sorry if this has been asked before, but I'm looking for a way to export either GridView data or data from a SQL query to Excel WITH formulas. I've done exports to Excel many times just fine from both data sources above without formulas, but now has come the time where clients are...
Nevermind this thread anymore. I just decided to make nearly all columns in the database table to be varchar and that seems to have solved the issues. I'll just have to check formatting elsewhere. Thanks. :)
http://downloads.littlbuger.info
"Only two things are infinite, the universe and...
I finally got it to show me some errors. I've changed the date columns formats in the Excel file to be General, Text, and Date and the same error still occurs:
System.InvalidOperationException: The given value of type String from the data source cannot be converted to type smalldatetime of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.