ts.php.net
Subject: Re: [PHP] Can someone help me build a regular expression?
Give this a shot:
^[0-9]{2,3}\.[0-9]$
Returns regex that begins with 2-3 digits, followed by a period, and
ends with one digit.
jason sweeney
jason.designshift.com
[EMAIL PROTECTED] wrote:
> Hi All,
>
> I
Give this a shot:
^[0-9]{2,3}\.[0-9]$
Returns regex that begins with 2-3 digits, followed by a period, and
ends with one digit.
jason sweeney
jason.designshift.com
[EMAIL PROTECTED] wrote:
Hi All,
I've sucessfully got a JavaScript validating some text boxes to make
sure that only numbers exist
Hi All,
I've sucessfully got a JavaScript validating some text boxes to make
sure that only numbers exist.I cheated and downloaded a regular
expression someon else had used and that works nicely. I wish to
validate the text box in the format of:
xXX.X
With the upper case Xs being a requ
Following is the code that will do a remote scrape of
http://www3.brinkster.com/soa/val/profile/display.asp (which sometimes goes down),
however, it should time out and produce an error after 5 seconds; instead, sometimes,
the entire page (http://valsignalandet.com) which includes this script be
loper
www.PHPBeginner.com // where PHP Begins
-Original Message-
From: Kirk Babb [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 24, 2002 5:35 PM
To: [EMAIL PROTECTED]
Subject: [PHP] can someone help?
First, here's my code:
";
?>
Works great on the first line, but I'
You're just trying to print a list of words, one per line?
print join('', explode(' ', 'Why am I trying?'));
or, broken into steps in case you want to deal more with the array:
$ar = explode(' ', 'Why am I trying?');
foreach ($ar as $word)
{
print "$word";
}
I didn't look that ca
First, here's my code:
";
?>
Works great on the first line, but I'm stuck on printing the remaining part
of the array using some sort of loop. I've tried a few things but get
endless loops. In the end I'd like to make this a function and just give it
the string and the container length as argume
On Monday 17 September 2001 16:42, Jeff Lewis wrote:
> I have an XML file that I need to parse. I had the base of a perl
> script written but wasn't completely functioning and was hoping someone
> could give me a hand with making it parse and do what it's supposed to
> but in PHP. The perl file
I have an XML file that I need to parse. I had the base of a perl script written but
wasn't completely functioning and was hoping someone could give me a hand with making
it parse and do what it's supposed to but in PHP. The perl file looked like this:
#!/usr/bin/perl
use CGI::Carp qw(fatal
9 matches
Mail list logo