I am novice to C programming. Is it possible to match pattern inside the C string, like any built in functions?
I am using Red Hat Linux and I want to check if a string starts with abc:
or def:
followed by 10 digit numbers @
chars. Something like : (abc|def):([0-9]{10})@([A-Za-z0-9]*)
.
Is there any C built in function which I can use to check this pattern matching.
Thanks for your help.