replace_tag

replace html tag without use regex or xregex in JavaScript

===========

replace html tag without use regex or xregex in Node.js module

  npm install replace_tag

Or from source:

  git clone git://github.com/narsic/replace_tag_node.js.git replace_tag 
  cd replace_tag_node.js
  npm link
var replaceTag = require('replace_tag');
var replacedHtml = replaceTag('html code', 'tag name', replaceAllTag(true||false));