|
|
Browse by Tags
All Tags » ASP.NET
Showing page 1 of 9 (82 total posts)
-
Hi,
How can I create a regular express pattern which has 30 charater fixed length, but the charater in the pattern could be less than 30 and pad with spaces.
For example, I want to enter these kind of values:
Jack Howe
Katherine Joe
Ken's Workstation
They all should be left justify and pad with spaces to meet 30 fixed length ...
-
Hey everyone. Seems like these days there is a subculture for EVERYTHING! Im glad I found this one... however, I am just starting. So please have mercy.
Basically, here is my pickle. Our windows server got hacked/injected etc etc. We had user input sanitation in place, but obviously it wasn't "smart" ...
-
I need help creating a regular expression for a user input on an asp.net page with c# code behind.
I have a textbox where a user can enter a directory path; which i then use to save certain files at. they can enter a local directory, a directory on network, server or an ftp site. so for example these are valid ...
-
Hi,
I want to build a reg ex so that the email address xyz@its.j&j.com can pass through the validation, in the asp.net regular expression.
I got one expression from from regexlib, ^[\w-\.]+@([\w-]+\.)+([\w-]){2,4}$
But cannot find the correct one so that it will work.
Let me know if any one has a soultion...
-
I have a requirement where I have to fetch prefix in a text excluding right hand side digit pattern.
For ex: AB9T0005 should give me only AB9T
AB9T-K1A-0005 should give me only AB9T-K1A-
What I mean is prefix may include any input including numbers and other alpha numeric values.
With out using regular expression I will parse from right ...
-
Hi,
I need a help on creating regular expression for string length must be 60 and it should not contain \ / and .(dot)
I have two regular expressions for validating separately for above condtion. I need it in single expression.
Expression are [^\\/\.]+$ for checking \ / .(dot)^.{60,60}$ for fixed ...
-
I’m testing a regular expression for use with an ASP TextBox that is set for multiline mode. The requirement is to allow up to 10 tracking numbers, one per line. Each number must be 22 digits. Following are a few attempts.
Expression #1….
^\d{22}(\r\n)?$
…accepts 22 digits on 1 line with optional ...
-
Hi all,
I'm attempting to create a custom regex expression in ASP.Net and could use a little help.
I need to create a Regex to rewrite the URL’s in the /profiles/ section of my WorkoutBOX the site. Here are some examples of what I need done:
Rewrite ...
-
Hi All
I need a help on creating regular expression for strong password. conditions are At least 1 numeric At least one small letterAt least one capital letter Special character may or may not existlength should be minimum 8 charsany order of characters in passwordAllowed special characters are @\$=!:.#%I have one Expression i.e ...
-
I am writing an application in .NET and using a RegularExpressionValidator with a negative lookahead expression of (?!ITEM CODE NOT FOUND) with the understanding that validation should pass when the value in the control being validated does NOT match the text ITEM CODE NOT FOUND. Basically, this value is returned from a web ...
1 ...
|
|
|