Facebook
From ik, 2 Years ago, written in JavaScript.
Embed
Download Paste or View Raw
Hits: 236
  1. const fs = require('fs');
  2. const file = fs.readFileSync('cms_module_news.xml');
  3. const text = file.toString();
  4.  
  5. const out = text.replace(/<column name="([^"]*)">([^<]*)<\/column>/mg, (match, p1, p2) => {
  6.     return '<' + p1 + '>' + p2 + '</' + p1 + '>';
  7. });
  8.  
  9. fs.writeFileSync('cms_module_news_replaced.xml', out);

Replies to Untitled rss

Title Name Language When
Re: Untitled Crimson Horse javascript 2 Years ago.