SyntaxFix
Write A Post
Hire A Developer
Questions
You can make the single letter optional by adding a ? after it as:
?
([A-Z]{1}?)
The quantifier {1} is redundant so you can drop it.
{1}