Hi I have 3 regex preg\_match in 1 if..

I want to know if it's possible to mix 3 regex in 1?

this is my if with 3 regex :

```
if(!preg_match("#\s#",$file) && !preg_match("#\.\.\/#",$file) && (preg_match_all("#/#",$file,$match)==1)):

```

(I want: no "space" , no "../" and only 1 "/")

thanks for your help.

**EDIT**

add the needed in list point (more readable):

* no "space"
* no "../"
* 1 "/"