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
Hey, I started playing with your code for a while ... And then
realized.. What you're trying to do it to reproduce chunk_split()
function.
Try other work arounds for this.
Read the docs,
Start from here: www.php.net/chunk_split
Sincerely,
Maxim Maletsky
Founder, Chief Developer
www.PHPBeginn
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
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
5 matches
Mail list logo