in reply to regex 2 match C function

Did you already try something? Then please show us the efforts you made.

Or do you want us to do your homework? ;-)