I am a beginner to Regular expressions although I know how to use them, searching, replacing...
I want to write a program that detects C++ valid identifiers. e.g: