Using bash regular expression to have string begins with.