Many different countries have different callsign formats. The US call signs typically fit into a very well defined category, but there are exceptions even there. I'm looking for a way to tell if a call sign is a real call sign, that works with international call signs. I'm looking for the full call sign, including after a '/'. I don't care if the call sign is actually assigned to a user, just if it is possible to assign the call to a user. I'm looking for rules as to what would be considered valid. A very general sense is okay too. I don't care if I filter something that could be a call sign, but isn't actually assigned, like
1S prefix calls, but I do want to make sure I get special edge cases, like
From what I can tell, the format that is valid appears to include a prefix, which can include up to 1 number and always includes 1 or 2 letters, followed by a number identifier, followed by 1-3 letters. An additional part of the call sign can be included before or after the call that can include a lot of things, including a
/KH6 (Or other prefix), and possibly other things as well, which I'm not really certain of. I'm looking for something like this, but preferably more detailed.
Basically, I'm trying to tell if a callsign is likely to be real, so I can check to see if I have an invalid call sign in my logging program.