change () to [] and updated regex