Can someone help me with a PHP regular expression to check the following condition at the beginning of a string:
[LEFT [OUTER] | INNER] JOIN where [] represents optional.
something to match the following
left outer join
left join
inner join
join
Thanks