|
|
Browse by Tags
All Tags » asp.net
Showing page 1 of 8 (80 total posts)
-
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 ...
-
I have made a regex to check the build-up of a number and it works fine. The only condition I can't make is:
if exactly 10 numbers in string then OK else Not OK
So OK: 1234567980 and 123456a7890 and a1a2a3a4a5a6a7a8a9a0a etc..
Not OK 132456798 and 13456a789 and a1a2a3a4a5a6a7a8a9a etc
Any1 Any Idea?
-
Hi
I'm currently working on a ASP.NET project where i want to replace sertain words with a link ex. "all your base are belong to us, is a cool phrase" if I want to replace the letter a as in "a cool phrase" with <a href="/#mylink">a</a> i want the new string to look like this, "all your base ...
1 ...
|
|
|