hmm that didn't work either same result as before it would just show a blank line. here is some more code the first part is a function that returns the string i need to get based on the regex. I have tested this function with about 8 other regexs and it should work with this one. the first parameter is the actual regex, the 2nd is the buffer string that contains our html page and the 3rd clears out xtra tags i dont need but i have omited that so it shouldnt be a problem. The second part is the actual calling of the function with the regex we are trying to figure out

string getListingData(string regexstring,string string1,string replaceregex)
	string content;
	boost::regex expression(regexstring, boost::regex::mod_s);
	boost::smatch match;
	expression.assign(regexstring, boost::regex_constants::icase);
	while(boost::regex_search(string1,match,expression,boost::match_not_dot_newline) )
		//used to clear xtra chars on content
		//content=boost::regex_replace(content, boost::regex(replaceregex), "");
		string1 = match.suffix();
	return content;
string tmp;
I have tried every variation of the regex u gave but still the same problem