I am having trouble using regular expressions. I use Eclipse IDE, gcc compiler, and run Ubuntu. Every time I try to use a regular expression, Eclipse throws up errors. I am trying to search a string for another string, and if that string is present, put it into an array.