Regular Expressions
Metacharacters - Character Class
[ ] Match single character
/^gr[ea]y$/

gray
grey
Tux the Linux Penguin.