Home : General : Internet Technologies :

General: Internet Technologies: Re: [Andy] Regex...: Edit Log

Here is the list of edits for this post
Re: [Andy] Regex...
If php regex is anything like perl (which I guess it is as it was "copied")... then your syntax is wrong.

Code:
if (!preg_match("/([0-9a-z ]{1,$max_title_length})$/i",$Price)) {

I'm not sure why you need ( ) though seeing as you aren't doing anything with the match.

Last edited by:

Paul: Jul 11, 2002, 9:32 AM

Edit Log: