Possible Duplicate: Regular Expression in C
Does a regex.h exist which i can include?
You could use PCRE.
POSIX has regex.h.
here : http://stackoverflow.com/questions/2359811/working-with-gnu-regex-functions-in-c-or-c