hallo patrick,
in perl geht das etwas so:
if ( $Wert !~ /\d{5}$/ ) { mach_sonst_was ; }
also dann vielleciht in php:
if ( ! preg_match ( "/\d{5}/", $Wert ) { mach_sonst_was ; }
ist aber ungetestet. erneuter gruss,
michael
hallo patrick,
in perl geht das etwas so:
if ( $Wert !~ /\d{5}$/ ) { mach_sonst_was ; }
also dann vielleciht in php:
if ( ! preg_match ( "/\d{5}/", $Wert ) { mach_sonst_was ; }
ist aber ungetestet. erneuter gruss,
michael