Has anyone come up with a regex that matches markup tags, without also matching any text between markup tags? I tried something as simple as \[+\], but of course that would match any non-markup text between an opening and closing markup tag, for example.
What I'm trying to do is include some "most recent posts" blurbs on my home page, which is in PHP. I'm able to use PHP to pull the information from the gforum_Post table, but the post_message field contains markup content. I need a way either to strip out the markup altogether, or (ideally) to convert it to HTML. I'm sure that's easy to do with the GT libs, but since my home page is in PHP, that's not really an option.
Thanks in advance for any ideas or suggestions.
Fractured Atlas :: Liberate the Artist
Services: Healthcare, Fiscal Sponsorship, Marketing, Education, The Emerging Artists Fund
What I'm trying to do is include some "most recent posts" blurbs on my home page, which is in PHP. I'm able to use PHP to pull the information from the gforum_Post table, but the post_message field contains markup content. I need a way either to strip out the markup altogether, or (ideally) to convert it to HTML. I'm sure that's easy to do with the GT libs, but since my home page is in PHP, that's not really an option.
Thanks in advance for any ideas or suggestions.
Fractured Atlas :: Liberate the Artist
Services: Healthcare, Fiscal Sponsorship, Marketing, Education, The Emerging Artists Fund