I am trying to understand the following regex, I understand the initial part but I\'m not able to figure out what {3,19} is doing here:
/[A-Z][A-Za-z0-9\\s]{
They are 'quantifiers' - it means 'match previous pattern between 3 and 19 times'
When you are learning regular expressions, it's really use to play with them in an interactive tool which can highlight the matches. I've always liked a tool called Regex Coach, but it is Windows only. Plenty of online tools though - have a play with your regex here, for example.