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])


Match either Spin or Span:

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