Regular Expression - [abc] Matches Single a or b or c

The square brackets ([]) match with any single character that is contained in the brackets.
This can also be any character not in the brackets by following the first character with a circumflex ([^abc])

Examples

Match either Spin or Span:

Sp[ai]n
This would match the following:
In a Spin
Spans everything
It would not match the following:
Spain - only one a or i
Spaan - only one a or i

Computing Articles