I am going to use regular expressions in a C++ application, but I am not experienced in regex. I want in particular to check a number of strings if they belong to one of the following categories:
X.anystring -> X must be necessarily and exclusively letter (not digit).
XY.anystring -> X, Y must be necessarily and exclusively digits 0-9 (not letters).
How can I check them using regex? What tutorial for regex could you recommend in order to acquaint me with regex?