From: Horacio Sanson Date: 2006-01-09T21:23:38+09:00 Subject: Re: Remove HTML from String? A regular expression can strip the HTML tags from any string... I use this # Get the html data in a string by any method html_string = get_html_method # strip all the html tags from the html data html_string.gsub!(/(<[^>]*>)|\n|\t/s) {" "} this may not be the best way, (robust or fast) but is enough for my needs. Horacio Monday 09 January 2006 17:38、jotto さんは書きました: > I can't find a method to remove HTML from a string in the core API. PHP > has something called strip_tags. Does Ruby have anything like this? > http://us3.php.net/manual/en/function.strip-tags.php