Demo entry 6751129

javascript

   

Submitted by anonymous on Jun 21, 2018 at 09:51
Language: JavaScript. Code size: 671 Bytes.

about = info.substring(info.search(startAboutSectionReg)).split(splitChar)[0]
        .replace(/(<!--.*-->)/g, '')
        .replace(/(<[^>]*>)/g, '')
        .replace(/{{нп[0-9]\|([^|]*)\|(?:[^}]*)}}/g,'$1')
        .replace(/\{\{[^|]*\|([0-9]*\|[0-9А-Яа-я]*\|[0-9]*)(?:\|[^}]*)?\}\}/g, '$1')
        .replace(/\|К\|[^|]*\|К/g, '')
        .replace(/\{\{[^}]*}}/g, '')
        .replace(/{{[^|]*\|/g, '')
        .replace(/\[\[([^|[\]]*)\|/g, '')
        .replace(/\[\[|\]\]/g, '')
        .replace(/\[http[^\]]*\]/g, '')
        .replace(/'''/g, '')
        .replace(/(''}})|}}/g, '')
        .replace(/\([;,.\s]*/g, '(')
        .replace(/\s*\(\)\s*/g, '')

This snippet took 0.01 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).