# Reverse of simple\_format?

**URL:** <https://www.ruby-forum.com/t/reverse-of-simple-format/164018>\
**Category:** Rails\
**Created:** [March 26, 2009, 11:29pm UTC](https://www.ruby-forum.com/t/reverse-of-simple-format/164018 "2009-03-26T23:29:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Danimal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bb73d2/32.png) [@Danimal](https://www.ruby-forum.com/u/Danimal)\
**Post date:** [March 26, 2009, 11:29pm UTC](https://www.ruby-forum.com/t/reverse-of-simple-format/164018/1 "2009-03-26T23:29:32Z")

</div>

Hello!

Is there a way to reverse the TextHelper simple\_format? I.e. to take  
some text with

tags and   
 tags and convert them into line  
breaks in a smart way? (smarter than just a regexp that is).

TIA!

-Danimal
