Regex to allow all php files expect on

Posted by Tim on Stack Overflow See other posts from Stack Overflow or by Tim
Published on 2010-05-21T09:25:46Z Indexed on 2010/05/21 9:30 UTC
Read the original article Hit count: 241

Filed under:

Hi all,

I have this regex that allow all php files :

^.*\.([Pp][Hh][Pp])

how can I exclude a specific file, for example test.php ?

Thanks for your answer, Best regards

© Stack Overflow or respective owner

Related posts about regex