C Extract Text From String Using Regex