Use anchor in regex