phpbar.de logo

Mailinglisten-Archive

[php] PCRE Problem

[php] PCRE Problem

Juri Smarschevski smj_(at)_intratools.de
Tue, 14 Nov 2000 14:40:09 +0100


> -----Original Message-----
> From: php-admin_(at)_php-center.de
> [mailto:php-admin_(at)_php-center.de]On Behalf
> Of Daniel Beulshausen
> >
> > preg_match("=^([0-9]){1,}(,([0-9]){2,})?$=", $Zahl);
> >
> > Haette jemand einen Vorschlag?
>
>
> preg_match("/^[0-9]+(,[0-9]{2})?$/", $number);
>
> daniel
>

Danke schoen.

Gruss,
Juri




php::bar PHP Wiki   -   Listenarchive