Pattern.matches("\\D", av[0])
Shouldn't the above hit on any of the following strings?
x
44x
4x4
x44
(perl regx guy, java 1.4)
http://www.experts-exchange.com/Programming/Languages/Java/Q_20339242.html
Zones:
JavaDate Answered: 08/21/2002 Rating: 9.0 Views: 0
Hi Expert,
Now i am using the following Regex for resolving the IP Addresss entered in a text box.
function isIPAddress(s)
{
var regex = /^(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/g;
return...
http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_20464967.html
Zones:
JavaScriptDate Answered: 02/11/2004 Rating: 8.8 Views: 0
Hi people,
I have to write a parser in C# that takes keys and values from a text file and put it into the right xml format. Here is an example:
<#ADR1=my address>
- parse to -
<ADR1>my addr...
http://www.experts-exchange.com/Programming/Languages/C_Sharp/Q_20574163.html
Zones:
C#Date Answered: 04/04/2003 Rating: 8.4 Views: 0
simplified code:
using System;
using System.Text.RegularExpressions;
...
MatchCollection matches = Regex.Matches("aaa/bbb/ccc/ddd/eee/", ".+/", Reg...
http://www.experts-exchange.com/Programming/Languages/C_Sharp/Q_20690834.html
Zones:
C#Date Answered: 08/02/2003 Rating: 9.0 Views: 0
Is there no jar for the regex packages to download?
Does one have to switch to 1.4?
..thanks
http://www.experts-exchange.com/Programming/Languages/Java/Q_20707959.html
Zones:
JavaDate Answered: 08/14/2003 Rating: 9.8 Views: 0
Here is the string;
<td width="80"><b>Cost:</b>Free with museum admission. </td> this test <td> </td></b>
<td width="80"><b>Time:</b> Fri 8pm; Sat 7:30pm, 9:45pm <b>Cost:</b> -1 </td>...
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_20884309.htm...
Zones:
PHPDate Answered: 02/13/2004 Rating: 6.8 Views: 0
I have a piece of code below that uses the console to prompt the user for a complete path to an input file. No matter what I do with regex I can't get the full path to be assigned to a string such ...
http://www.experts-exchange.com/Programming/Languages/Java/Q_20919997.html
Zones:
JavaDate Answered: 03/15/2004 Rating: 6.2 Views: 0
this is what I use in the custom 404 error script for domain name and suffix detection, could someone help me make it more portable and efficient? To account for other than www. prefixes and any su...
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/ASP/Q_20921408.htm...
Zones:
ASPDate Answered: 07/12/2004 Rating: 8.2 Views: 0
I'm attempting to parse a text file into an SQL table using Regex Match. I have successfully matched just the port. However, I've never Matched a complete sentence before. The sentences all star...
http://www.experts-exchange.com/Programming/Misc/Q_21133771.html
There are a million regexes on the net describing how to ensure user enters a valid phone, but I cannot find one to meet my need. Here's what I need:
Ensure field has exactly 10 digits AND last 7...
http://www.experts-exchange.com/Programming/Misc/Q_21165196.html