| Changing case (7 replies) |
| ASPFriends.com 'aspngregexp' list |
| I want to write a regexp that locates matches and then sets the matched strings to lower case. It looks like on unix boxed there's a method called lc() to do this. What's the equivalent in the .NET world of regexp? Ollie |
|
| Regular Expression (7 replies) |
| ASPFriends.com 'aspngregexp' list |
| Moved from [aspngfreeforall] to [aspngregexp] by Yannick Smits dotnet@stepcompany.com Could someone please let me have the regex's to validate a password that: Must contain between 6 and 10 chars (0 9, a z, A Z) Must contain 1 or more of @#%^&*() Have tried dozens of ways but can't quite get it. Thanks Tony Stephenson |
|
| Regular Expressions with ASP.NET (3 replies) |
| ASPFriends.com 'aspngregexp' list |
| Moved from [aspclient] to [aspngregexp] by Ken Schaefer ken@adOpenStatic.com I am making a few textbox controls whos values will be added together( so the input will obviously have to be in the form of an integer). I will also have form validation controls in this form, and I don't want the add button to cause validation. With that, i am going to make a server side validation script that will add ... |
|
| Replacing with RegEx (2 replies) |
| ASPFriends.com 'aspngregexp' list |
| I have a specific pattern I would like to replace using RegEx.Replace(). In a nutshell, I would like to replace: [6 of ANY character or whitespace]*[any # of ANY character or whitespace] (in other words any string that has a '*' in the 7th character position in the string) I want to add the " COMMENT " string before the '*" and the /COMMENT at the end of the string. So, I would like to replace the... |
|