REGEX HELP

Newb Newb wrote:

Is there any regualar expressions,which Should not allow blank space as the first character for my Department Name field.

Yes. Check out the regex documentation in the Pickaxe Book. Pay particular attention to the following constructs: , \s, and ^ (in both its senses).

Or just use String#strip.

any helps on this... Thanks

You're welcome!

Best,