Regex for Stripping Textile
October 10I needed a regular expression to strip Textile markup out of some content, but couldn’t find one already out there. So, here’s one.
It’s definitely not perfect, but it passes all of the test cases down to the “Phrase Attributes” section at Hobix. Enjoy -
Update: Strange problem with GitHub’s gist tool; the content below has several characters stripped out. Click here for the real deal.


Leave a Reply