Helpful Information
 
 
Category: PHP Development
regexp... help?? please....

Hi!

I was trying to understand how this regexp work but the regexp reference is like written in chinese...

anyway, what i'm trying to do it get all block between certain characters... like HTML...

for example, i need to replace {b}text{/b} to <b>text</b>... this structure can have multiple levels like

{b}stuff {i}here{/i} or here {html}<b>html</b>{/html}{/b}

of course, i could just replace {b} to <b>, but how can treat html blocks between {html}{/html}... I'm sortof writing forum here and need such feature as my own markup language.... any help?

------------------
Alex D. G.
http://www.alexdg.com










privacy (GDPR)