Instead try the strstr (find substring) and strtok (like perl's split) routines.
A piggy bank of commands, fixes, succinct reviews, some mini articles and technical opinions from a (mostly) Perl developer.
Jump to
Regular expressions in C: Advice
If you can avoid using regular expressions in C, then *do not use them!!*
Labels:
c,
idea,
programming,
regex,
strings