|
|
Browse by Tags
All Tags » alphanumeric with restraints
-
Hello, I am using C# in Visual Studio 2008. I have a text file of the entire Bible that I am wanting to either put into a database or write to an XML document. The format of the text is as follows with comments in C# single line comment style to the right of the actual text (example: Genesis //book ...
-
Hello,
I try to check hexadecimal character codes according to this specification : "Only allow characters which hexadecimal code is between 20 and 7E".
I tried this : myString.matches("[\\x20-\\7E]"); but it doesn't work.
Any idea ?
-
I am writing an upper/lower casing name/address string parser in VBA and have recently started looking at regex instead of iterative testing.
For one of the tests, I want to return a true/false result from testing a single word string that is comprised of BOTH uppercase English characters and digits 0-9 (e.g.123BJZ1Q) in order to ...
-
Greetings -
I've been tasked with coming up with an expression that would do password validation for our application. After doing a search for ideas I came across this site and this is the solution I was able to come up with:
Language: Java
Problem: A valid password is a minimum of eight characters and a maximum of sixteen. It contatins at ...
-
Hi guys,
Sure this is probobly simple but my head just can't get around this issues... I'm trying to parse the HTML to start replacing/removing problem tags to meet W3C AA compliance and various other requirements. The first one i'm working on is removing the 'bgcolor' attribute of any table/tr/td tag. But using the ...
-
Good Day.
I am using the following code to validate data on a HTML page
function checkTermMoYr (strng) {
var error = "";
if (strng == "") {
error = "You didn't enter a Loan Term.\n";
}
//var illegalChars = /\W/;
var illegalChars = \s;
// allow only letters, numbers, ...
-
Hello.
I'm trying to write a regular expressin that will parse filenames for prefix, revision, page, and extension. This is what I have so far.
/^(.*)_(\d*).*__(\d*)\.(.*)$/i
This works for filenames in this form.
418C_1(SPACER)__2.pdf
and pulls out
prefix:418C Rev: 1 Page: 2 File ...
-
I'm looking to create a regular expression in PHP that does the following. Keep in mind it is for a registration form where a text field must contain the following:
Must be at least 8 characters in length and the field must contain at least 1 number and 1 alphabetic character. I came up with the solution below but IT DOES NOT WORK ...
|
|
|