In article <002d01c0a69a$ea2c9aa0$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] ("Murray Shields") wrote:
> $Status = (ereg("^(^[A-Za-z0-9` !@#$%&()=:;\"\'.?/^|{}-]*)(.*)$", $String,
> $List));
>
> It is definitely working as expected.
>
> I need to add the square brackets [ ] to the above list of all
I have a working regex as below, used for validating data input:
$Status = (ereg("^(^[A-Za-z0-9` !@#$%&()=:;\"\'.?/^|{}-]*)(.*)$", $String,
$List));
It is definitely working as expected.
I need to add the square brackets [ ] to the above list of allowed
characters. However, this does not work.
2 matches
Mail list logo