PHP RegEx Meta Character class

PHP RegEx: Meta Character class

We already seen the caret(^) as match the the beginning of string and (\z) match at the end of string that what they do. Now we are going to look with the others with beggining of bracket []. These Meta character are specifying a character class. What does the character class? This is a set of character that you want to match the string. They can listed individually like [abcdf] or a range [a-f]