Convert HTML to String

-(NSString *) stringByStrippingHTML:(NSString *)s
{
NSRange r;
//NSString *s = [[self copy] autorelease];
while ((r = [s rangeOfString:@"<[^>]+>" options:NSRegularExpressionSearch]).location != NSNotFound)
s = [s stringByReplacingCharactersInRange:r withString:@""];

s = [s stringByReplacingOccurrencesOfString:@"&amp;" withString:@"&"];
return s;
}