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
Or just use String#strip.
any helps on this...