用于空白的PHP正则表达式

I am building a OOPHP web application, I am working on a regular expression that ONLY accepts lower/capital case letter along with white spaces. I have been trying to implement the white spaces but for some reason it not working, normally in JAVACC I do something like this:

(["a" - "z"])+ | (["A" - "Z"])+ | " " | "\t" | "
" | "" 

How can I rewrite the top expression in PHP? This is what I have so far (it works, but I don't know how to implement the white spaces in php).

/^[a-zA-Z]*$/

You can add to your character class to allow for whitespace. You can either add a space character " " if spaces are all you want to match, or use \s which matches whitespace (, , \t, \f, and " ")

/^[a-zA-Z\s]*$/

Regular expression:

^               # the beginning of the string
[a-zA-Z\s]*     # any character of: 'a' to 'z', 'A' to 'Z',
                # whitespace (
, , \t, \f, and " ") (0 or more times)
$               # before an optional 
, and the end of the string

You can also add that very space character to your existing regex as long as its the whitespace you want to match, and not the other form of spaces like a tab etc.

/^[a-zA-Z ]*$/
         ^