Hi there;

I know what regular expressions are, and have used very simple ones before - but I don't know if they can be used in C, or how to use them. I do know, though, that regex would save me a heck of a lot of trouble in parsing a slightly regular string (tokenising).

What I am doing, is checking for the following regular expression:

anystring*$anyint,*$anyint,*$anyint

Where there is a *, there can be any number of whitespace.

I suppose I am going against cboard ettiquette here and asking for a bit of a write out, but I don't know where to start looking (as I asked before, I don't even know if regex can be used in C).

Googling attempts seem to throw 1000s of C++ string regex functions at me but no C..

Thanks.