title: Shortcode plugins for own custom cms like wordpress shortcode plugins
body: <p>I have created a custom CMS for my own and a plugin system that is working as I expected.</p>
  
  <p>Now I want to create plugins based on shortcodes, 
  eg:
      [gallery attr1=100 attr2="string"] and [mycode title='message' color='#F00']Hello World![/mycode]</p>
  
  <p>I want to handle the above mentioned shortcodes in my CMS.
  Functions will replace shortcodes with HTML and get &amp; set attributes as parameters for mySQL queries or something else.</p>
  
  <p>may be regular expressions will help, I am not expert in regular expressions. I would don't like to use such regular expressions if there are other smiler or good ways exist  .  </p>
  
  <p>CMS developed using PHP and mySQL.</p>
  
  <p>I have visited the wordpress developers sites and got the concepts, I have already created functions that register or set plugins, menus, theme sidebars etc.</p>
  
  <p>I think this info is enough to get the point as I can just explain in this way.</p>
  
  <p>thank you in advance </p>