Markdown heading regex

Posted by Jorm on Stack Overflow See other posts from Stack Overflow or by Jorm
Published on 2010-04-11T11:31:15Z Indexed on 2010/04/11 11:33 UTC
Read the original article Hit count: 363

Filed under:

I like markdowns clean "tags", put i dont want to use their huge class they got. I just want some simple tags like the heading regex but i cant find it in the file. Ive been playing around with http://gskinner.com/RegExr/ but its damn hard

So I'm looking for a regex that will match '# text' and close it after a linebreak (instead of </blabla> in bbcode)

Hi

How you doing?

Anyone got this?

© Stack Overflow or respective owner

Related posts about regex