Jump to content

Matching wiki like rules for html headers


balzar

Recommended Posts

I am implementing some very simple wiki rules therefore in a wiki content I need to find "=Heading1=", "==Heading 2==" and onwoards in order to replace it with <h1>,<h2> tags.

The closes solution i have so far is '/={1}([^=].+?)={1}/' but it does not work properly. Please help!!!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.