Enclose character word

broken image
broken image

You could use this in gr y to match either gray or grey. Simply place the characters you want to match between square brackets. With a “character class”, also called “character set”, you can tell the regex engine to match only one out of several characters.

broken image