From: "Daniel P. C." Date: 2012-06-12T11:39:28+09:00 Subject: Re: Remove HTML from String? --> a better method I hate regex. I've written some ruby functions to remove html tags in blocks and not just special characters... also rules for swapping html code for anything else is included. Example
will be swapped out for \n with existing rules. My code is available at https://github.com/6ftDan/regex-is-evil -- Posted via http://www.ruby-forum.com/.