User:WOSlinkerBot/linttask22.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
Documentation for this user script can be added at User:WOSlinkerBot/linttask22. |
function lint_queryString(p) {
var re = RegExp('[&?]' + p + '=([^&]*)');
var matches;
if (matches = re.exec(document.location)) {
try {
return decodeURI(matches[1]);
} catch (e) { }
}
return null;
}
//Add a 'lint edit' tab
if(mw.config.get('wgArticleId') != 0 ) {
$( function lintEditButton() {
mw.util.addPortletLink('p-cactions',
mw.util.getUrl(null,{action:'edit',lintedit:true}),
'lint',
'p-lint',
'lint edit');
}
)}
if(mw.config.get('wgAction') == 'edit' && lint_queryString('lintedit') == 'true') {
$(function lint() {
var myContent = document.getElementById('wpTextbox1').value;
//myContent = myContent.replace(/\#\{\{User\:Sukh17\/Color\|X\=1\}\}/g,'#436EEE');
myContent = myContent.replace(/(\<font )\n(color\=[\#\d\w\"]*\>)/g,'$1$2');
myContent = myContent.replace(/\<sub\>\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>\<\/sub\>/gi,'$2<sub style="color:$1;">$3</sub>$4');
myContent = myContent.replace(/\<sub\>\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>\<\/sub\>/gi,'$2<sub style="color:$1;">$3</sub>$4');
myContent = myContent.replace(/\<sub\>\<font color\=\"?(red|blue|green|lime|black|brown|gold|maroon|purple|violet|yellow|orange|navy|white|magenta|teal|olive|pink|gray|grey|dimgray|silver|cyan|darkblue|darkgreen|darkred|darkorange|Indigo|MidnightBlue|SteelBlue|royalblue|LightSeaGreen|OliveDrab|forestgreen|mediumseagreen|lightgreen|tan|cornflowerblue|dodgerblue|lightblue|cadetblue|mediumslateblue|darkgray|darkslategray)\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>\<\/sub\>/gi,'$2<sub style="color:$1;">$3</sub>$4');
myContent = myContent.replace(/\<sub\>\<font color\=\"?([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>\<\/sub\>/gi,'$2<sub style="color:#$1;">$3</sub>$4');
myContent = myContent.replace(/\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9])\"?\>\<sub\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/sub\>\<\/font\>/gi,'$2<sub style="color:$1;">$3</sub>$4');
myContent = myContent.replace(/\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>\<sub\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/sub\>\<\/font\>/gi,'$2<sub style="color:$1;">$3</sub>$4');
myContent = myContent.replace(/\<font color\=\"?(red|blue|green|lime|black|brown|gold|maroon|purple|violet|yellow|orange|navy|white|magenta|teal|olive|pink|gray|grey|dimgray|silver|cyan|darkblue|darkgreen|darkred|darkorange|Indigo|MidnightBlue|SteelBlue|royalblue|LightSeaGreen|OliveDrab|forestgreen|mediumseagreen|lightgreen|tan|cornflowerblue|dodgerblue|lightblue|cadetblue|mediumslateblue|darkgray|darkslategray)\"?\>\<sub\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/sub\>\<\/font\>/gi,'$2<sub style="color:$1;">$3</sub>$4');
myContent = myContent.replace(/\<font color\=\"?([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>\<sub\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/sub\>\<\/font\>/gi,'$2<sub style="color:#$1;">$3</sub>$4');
myContent = myContent.replace(/\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)\<sub\>([^\]]*)\<\/sub\>(\]\])\<\/font\>/gi,'$2<sub style="color:$1;">$3</sub>$4');
myContent = myContent.replace(/\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)\<sub\>([^\]]*)\<\/sub\>(\]\])\<\/font\>/gi,'$2<sub style="color:$1;">$3</sub>$4');
myContent = myContent.replace(/\<font color\=\"?(red|blue|green|lime|black|brown|gold|maroon|purple|violet|yellow|orange|navy|white|magenta|teal|olive|pink|gray|grey|dimgray|silver|cyan|darkblue|darkgreen|darkred|darkorange|Indigo|MidnightBlue|SteelBlue|royalblue|LightSeaGreen|OliveDrab|forestgreen|mediumseagreen|lightgreen|tan|cornflowerblue|dodgerblue|lightblue|cadetblue|mediumslateblue|darkgray|darkslategray)\"?\>(\[\[[^\|\]]*\|)\<sub\>([^\]]*)\<\/sub\>(\]\])\<\/font\>/gi,'$2<sub style="color:$1;">$3</sub>$4');
myContent = myContent.replace(/\<font color\=\"?([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)\<sub\>([^\]]*)\<\/sub\>(\]\])\<\/font\>/gi,'$2<sub style="color:#$1;">$3</sub>$4');
myContent = myContent.replace(/\<sup\>\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>\<\/sup\>/gi,'$2<sup style="color:$1;">$3</sup>$4');
myContent = myContent.replace(/\<sup\>\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>\<\/sup\>/gi,'$2<sup style="color:$1;">$3</sup>$4');
myContent = myContent.replace(/\<sup\>\<font color\=\"?(red|blue|green|lime|black|brown|gold|maroon|purple|violet|yellow|orange|navy|white|magenta|teal|olive|pink|gray|grey|dimgray|silver|cyan|darkblue|darkgreen|darkred|darkorange|Indigo|MidnightBlue|SteelBlue|royalblue|LightSeaGreen|OliveDrab|forestgreen|mediumseagreen|lightgreen|tan|cornflowerblue|dodgerblue|lightblue|cadetblue|mediumslateblue|darkgray|darkslategray)\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>\<\/sup\>/gi,'$2<sup style="color:$1;">$3</sup>$4');
myContent = myContent.replace(/\<sup\>\<font color\=\"?([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>\<\/sup\>/gi,'$2<sup style="color:#$1;">$3</sup>$4');
myContent = myContent.replace(/\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9])\"?\>\<sup\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/sup\>\<\/font\>/gi,'$2<sup style="color:$1;">$3</sup>$4');
myContent = myContent.replace(/\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>\<sup\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/sup\>\<\/font\>/gi,'$2<sup style="color:$1;">$3</sup>$4');
myContent = myContent.replace(/\<font color\=\"?(red|blue|green|lime|black|brown|gold|maroon|purple|violet|yellow|orange|navy|white|magenta|teal|olive|pink|gray|grey|dimgray|silver|cyan|darkblue|darkgreen|darkred|darkorange|Indigo|MidnightBlue|SteelBlue|royalblue|LightSeaGreen|OliveDrab|forestgreen|mediumseagreen|lightgreen|tan|cornflowerblue|dodgerblue|lightblue|cadetblue|mediumslateblue|darkgray|darkslategray)\"?\>\<sup\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/sup\>\<\/font\>/gi,'$2<sup style="color:$1;">$3</sup>$4');
myContent = myContent.replace(/\<font color\=\"?([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>\<sup\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/sup\>\<\/font\>/gi,'$2<sup style="color:#$1;">$3</sup>$4');
myContent = myContent.replace(/\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)\<sup\>([^\]]*)\<\/sup\>(\]\])\<\/font\>/gi,'$2<sup style="color:$1;">$3</sup>$4');
myContent = myContent.replace(/\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)\<sup\>([^\]]*)\<\/sup\>(\]\])\<\/font\>/gi,'$2<sup style="color:$1;">$3</sup>$4');
myContent = myContent.replace(/\<font color\=\"?(red|blue|green|lime|black|brown|gold|maroon|purple|violet|yellow|orange|navy|white|magenta|teal|olive|pink|gray|grey|dimgray|silver|cyan|darkblue|darkgreen|darkred|darkorange|Indigo|MidnightBlue|SteelBlue|royalblue|LightSeaGreen|OliveDrab|forestgreen|mediumseagreen|lightgreen|tan|cornflowerblue|dodgerblue|lightblue|cadetblue|mediumslateblue|darkgray|darkslategray)\"?\>(\[\[[^\|\]]*\|)\<sup\>([^\]]*)\<\/sup\>(\]\])\<\/font\>/gi,'$2<sup style="color:$1;">$3</sup>$4');
myContent = myContent.replace(/\<font color\=\"?([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)\<sup\>([^\]]*)\<\/sup\>(\]\])\<\/font\>/gi,'$2<sup style="color:#$1;">$3</sup>$4');
myContent = myContent.replace(/\<em\>\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>\<\/em\>/gi,'$2<em style="color:$1;">$3</em>$4');
myContent = myContent.replace(/\<em\>\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>\<\/em\>/gi,'$2<em style="color:$1;">$3</em>$4');
myContent = myContent.replace(/\<em\>\<font color\=\"?(red|blue|green|lime|black|brown|gold|maroon|purple|violet|yellow|orange|navy|white|magenta|teal|olive|pink|gray|grey|dimgray|silver|cyan|darkblue|darkgreen|darkred|darkorange|Indigo|MidnightBlue|SteelBlue|royalblue|LightSeaGreen|OliveDrab|forestgreen|mediumseagreen|lightgreen|tan|cornflowerblue|dodgerblue|lightblue|cadetblue|mediumslateblue|darkgray|darkslategray)\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>\<\/em\>/gi,'$2<em style="color:$1;">$3</em>$4');
myContent = myContent.replace(/\<em\>\<font color\=\"?([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>\<\/em\>/gi,'$2<em style="color:#$1;">$3</em>$4');
myContent = myContent.replace(/\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9])\"?\>\<em\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/em\>\<\/font\>/gi,'$2<em style="color:$1;">$3</em>$4');
myContent = myContent.replace(/\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>\<em\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/em\>\<\/font\>/gi,'$2<em style="color:$1;">$3</em>$4');
myContent = myContent.replace(/\<font color\=\"?(red|blue|green|lime|black|brown|gold|maroon|purple|violet|yellow|orange|navy|white|magenta|teal|olive|pink|gray|grey|dimgray|silver|cyan|darkblue|darkgreen|darkred|darkorange|Indigo|MidnightBlue|SteelBlue|royalblue|LightSeaGreen|OliveDrab|forestgreen|mediumseagreen|lightgreen|tan|cornflowerblue|dodgerblue|lightblue|cadetblue|mediumslateblue|darkgray|darkslategray)\"?\>\<em\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/em\>\<\/font\>/gi,'$2<em style="color:$1;">$3</em>$4');
myContent = myContent.replace(/\<font color\=\"?([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>\<em\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/em\>\<\/font\>/gi,'$2<em style="color:#$1;">$3</em>$4');
myContent = myContent.replace(/\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)\<em\>([^\]]*)\<\/em\>(\]\])\<\/font\>/gi,'$2<em style="color:$1;">$3</em>$4');
myContent = myContent.replace(/\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)\<em\>([^\]]*)\<\/em\>(\]\])\<\/font\>/gi,'$2<em style="color:$1;">$3</em>$4');
myContent = myContent.replace(/\<font color\=\"?(red|blue|green|lime|black|brown|gold|maroon|purple|violet|yellow|orange|navy|white|magenta|teal|olive|pink|gray|grey|dimgray|silver|cyan|darkblue|darkgreen|darkred|darkorange|Indigo|MidnightBlue|SteelBlue|royalblue|LightSeaGreen|OliveDrab|forestgreen|mediumseagreen|lightgreen|tan|cornflowerblue|dodgerblue|lightblue|cadetblue|mediumslateblue|darkgray|darkslategray)\"?\>(\[\[[^\|\]]*\|)\<em\>([^\]]*)\<\/em\>(\]\])\<\/font\>/gi,'$2<em style="color:$1;">$3</em>$4');
myContent = myContent.replace(/\<font color\=\"?([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)\<em\>([^\]]*)\<\/em\>(\]\])\<\/font\>/gi,'$2<em style="color:#$1;">$3</em>$4');
myContent = myContent.replace(/\<small\>\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>\<\/small\>/gi,'$2<small style="color:$1;">$3</small>$4');
myContent = myContent.replace(/\<small\>\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>\<\/small\>/gi,'$2<small style="color:$1;">$3</small>$4');
myContent = myContent.replace(/\<small\>\<font color\=\"?(red|blue|green|lime|black|brown|gold|maroon|purple|violet|yellow|orange|navy|white|magenta|teal|olive|pink|gray|grey|dimgray|silver|cyan|darkblue|darkgreen|darkred|darkorange|Indigo|MidnightBlue|SteelBlue|royalblue|LightSeaGreen|OliveDrab|forestgreen|mediumseagreen|lightgreen|tan|cornflowerblue|dodgerblue|lightblue|cadetblue|mediumslateblue|darkgray|darkslategray)\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>\<\/small\>/gi,'$2<small style="color:$1;">$3</small>$4');
myContent = myContent.replace(/\<small\>\<font color\=\"?([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>\<\/small\>/gi,'$2<small style="color:#$1;">$3</small>$4');
myContent = myContent.replace(/\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9])\"?\>\<small\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/small\>\<\/font\>/gi,'$2<small style="color:$1;">$3</small>$4');
myContent = myContent.replace(/\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>\<small\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/small\>\<\/font\>/gi,'$2<small style="color:$1;">$3</small>$4');
myContent = myContent.replace(/\<font color\=\"?(red|blue|green|lime|black|brown|gold|maroon|purple|violet|yellow|orange|navy|white|magenta|teal|olive|pink|gray|grey|dimgray|silver|cyan|darkblue|darkgreen|darkred|darkorange|Indigo|MidnightBlue|SteelBlue|royalblue|LightSeaGreen|OliveDrab|forestgreen|mediumseagreen|lightgreen|tan|cornflowerblue|dodgerblue|lightblue|cadetblue|mediumslateblue|darkgray|darkslategray)\"?\>\<small\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/small\>\<\/font\>/gi,'$2<small style="color:$1;">$3</small>$4');
myContent = myContent.replace(/\<font color\=\"?([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>\<small\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/small\>\<\/font\>/gi,'$2<small style="color:#$1;">$3</small>$4');
myContent = myContent.replace(/\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)\<small\>([^\]]*)\<\/small\>(\]\])\<\/font\>/gi,'$2<small style="color:$1;">$3</small>$4');
myContent = myContent.replace(/\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)\<small\>([^\]]*)\<\/small\>(\]\])\<\/font\>/gi,'$2<small style="color:$1;">$3</small>$4');
myContent = myContent.replace(/\<font color\=\"?(red|blue|green|lime|black|brown|gold|maroon|purple|violet|yellow|orange|navy|white|magenta|teal|olive|pink|gray|grey|dimgray|silver|cyan|darkblue|darkgreen|darkred|darkorange|Indigo|MidnightBlue|SteelBlue|royalblue|LightSeaGreen|OliveDrab|forestgreen|mediumseagreen|lightgreen|tan|cornflowerblue|dodgerblue|lightblue|cadetblue|mediumslateblue|darkgray|darkslategray)\"?\>(\[\[[^\|\]]*\|)\<small\>([^\]]*)\<\/small\>(\]\])\<\/font\>/gi,'$2<small style="color:$1;">$3</small>$4');
myContent = myContent.replace(/\<font color\=\"?([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)\<small\>([^\]]*)\<\/small\>(\]\])\<\/font\>/gi,'$2<small style="color:#$1;">$3</small>$4');
myContent = myContent.replace(/\<big\>\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>\<\/big\>/gi,'$2<big style="color:$1;">$3</big>$4');
myContent = myContent.replace(/\<big\>\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>\<\/big\>/gi,'$2<big style="color:$1;">$3</big>$4');
myContent = myContent.replace(/\<big\>\<font color\=\"?(red|blue|green|lime|black|brown|gold|maroon|purple|violet|yellow|orange|navy|white|magenta|teal|olive|pink|gray|grey|dimgray|silver|cyan|darkblue|darkgreen|darkred|darkorange|Indigo|MidnightBlue|SteelBlue|royalblue|LightSeaGreen|OliveDrab|forestgreen|mediumseagreen|lightgreen|tan|cornflowerblue|dodgerblue|lightblue|cadetblue|mediumslateblue|darkgray|darkslategray)\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>\<\/big\>/gi,'$2<big style="color:$1;">$3</big>$4');
myContent = myContent.replace(/\<big\>\<font color\=\"?([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>\<\/big\>/gi,'$2<big style="color:#$1;">$3</big>$4');
myContent = myContent.replace(/\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9])\"?\>\<big\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/big\>\<\/font\>/gi,'$2<big style="color:$1;">$3</big>$4');
myContent = myContent.replace(/\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>\<big\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/big\>\<\/font\>/gi,'$2<big style="color:$1;">$3</big>$4');
myContent = myContent.replace(/\<font color\=\"?(red|blue|green|lime|black|brown|gold|maroon|purple|violet|yellow|orange|navy|white|magenta|teal|olive|pink|gray|grey|dimgray|silver|cyan|darkblue|darkgreen|darkred|darkorange|Indigo|MidnightBlue|SteelBlue|royalblue|LightSeaGreen|OliveDrab|forestgreen|mediumseagreen|lightgreen|tan|cornflowerblue|dodgerblue|lightblue|cadetblue|mediumslateblue|darkgray|darkslategray)\"?\>\<big\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/big\>\<\/font\>/gi,'$2<big style="color:$1;">$3</big>$4');
myContent = myContent.replace(/\<font color\=\"?([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>\<big\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/big\>\<\/font\>/gi,'$2<big style="color:#$1;">$3</big>$4');
myContent = myContent.replace(/\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)\<big\>([^\]]*)\<\/big\>(\]\])\<\/font\>/gi,'$2<big style="color:$1;">$3</big>$4');
myContent = myContent.replace(/\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)\<big\>([^\]]*)\<\/big\>(\]\])\<\/font\>/gi,'$2<big style="color:$1;">$3</big>$4');
myContent = myContent.replace(/\<font color\=\"?(red|blue|green|lime|black|brown|gold|maroon|purple|violet|yellow|orange|navy|white|magenta|teal|olive|pink|gray|grey|dimgray|silver|cyan|darkblue|darkgreen|darkred|darkorange|Indigo|MidnightBlue|SteelBlue|royalblue|LightSeaGreen|OliveDrab|forestgreen|mediumseagreen|lightgreen|tan|cornflowerblue|dodgerblue|lightblue|cadetblue|mediumslateblue|darkgray|darkslategray)\"?\>(\[\[[^\|\]]*\|)\<big\>([^\]]*)\<\/big\>(\]\])\<\/font\>/gi,'$2<big style="color:$1;">$3</big>$4');
myContent = myContent.replace(/\<font color\=\"?([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)\<big\>([^\]]*)\<\/big\>(\]\])\<\/font\>/gi,'$2<big style="color:#$1;">$3</big>$4');
myContent = myContent.replace(/\<b\>\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>\<\/b\>/gi,'$2<b style="color:$1;">$3</b>$4');
myContent = myContent.replace(/\<b\>\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>\<\/b\>/gi,'$2<b style="color:$1;">$3</b>$4');
myContent = myContent.replace(/\<b\>\<font color\=\"?(red|blue|green|lime|black|brown|gold|maroon|purple|violet|yellow|orange|navy|white|magenta|teal|olive|pink|gray|grey|dimgray|silver|cyan|darkblue|darkgreen|darkred|darkorange|Indigo|MidnightBlue|SteelBlue|royalblue|LightSeaGreen|OliveDrab|forestgreen|mediumseagreen|lightgreen|tan|cornflowerblue|dodgerblue|lightblue|cadetblue|mediumslateblue|darkgray|darkslategray)\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>\<\/b\>/gi,'$2<b style="color:$1;">$3</b>$4');
myContent = myContent.replace(/\<b\>\<font color\=\"?([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>\<\/b\>/gi,'$2<b style="color:#$1;">$3</b>$4');
myContent = myContent.replace(/\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9])\"?\>\<b\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/b\>\<\/font\>/gi,'$2<b style="color:$1;">$3</b>$4');
myContent = myContent.replace(/\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>\<b\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/b\>\<\/font\>/gi,'$2<b style="color:$1;">$3</b>$4');
myContent = myContent.replace(/\<font color\=\"?(red|blue|green|lime|black|brown|gold|maroon|purple|violet|yellow|orange|navy|white|magenta|teal|olive|pink|gray|grey|dimgray|silver|cyan|darkblue|darkgreen|darkred|darkorange|Indigo|MidnightBlue|SteelBlue|royalblue|LightSeaGreen|OliveDrab|forestgreen|mediumseagreen|lightgreen|tan|cornflowerblue|dodgerblue|lightblue|cadetblue|mediumslateblue|darkgray|darkslategray)\"?\>\<b\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/b\>\<\/font\>/gi,'$2<b style="color:$1;">$3</b>$4');
myContent = myContent.replace(/\<font color\=\"?([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>\<b\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/b\>\<\/font\>/gi,'$2<b style="color:#$1;">$3</b>$4');
myContent = myContent.replace(/\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)\<b\>([^\]]*)\<\/b\>(\]\])\<\/font\>/gi,'$2<b style="color:$1;">$3</b>$4');
myContent = myContent.replace(/\<font color\=\"? *(\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)\<b\>([^\]]*)\<\/b\>(\]\])\<\/font\>/gi,'$2<b style="color:$1;">$3</b>$4');
myContent = myContent.replace(/\<font color\=\"?(red|blue|green|lime|black|brown|gold|maroon|purple|violet|yellow|orange|navy|white|magenta|teal|olive|pink|gray|grey|dimgray|silver|cyan|darkblue|darkgreen|darkred|darkorange|Indigo|MidnightBlue|SteelBlue|royalblue|LightSeaGreen|OliveDrab|forestgreen|mediumseagreen|lightgreen|tan|cornflowerblue|dodgerblue|lightblue|cadetblue|mediumslateblue|darkgray|darkslategray)\"?\>(\[\[[^\|\]]*\|)\<b\>([^\]]*)\<\/b\>(\]\])\<\/font\>/gi,'$2<b style="color:$1;">$3</b>$4');
myContent = myContent.replace(/\<font color\=\"?([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)\<b\>([^\]]*)\<\/b\>(\]\])\<\/font\>/gi,'$2<b style="color:#$1;">$3</b>$4');
myContent = myContent.replace(/\<font *color *\= *\"? *(\#[a-f0-9][a-f0-9][a-f0-9])\"? *\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font *\>/gi,'$2<span style="color:$1;">$3</span>$4');
myContent = myContent.replace(/\<font *color *\= *\"? *(\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"? *\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font *\>/gi,'$2<span style="color:$1;">$3</span>$4');
myContent = myContent.replace(/\<font *color *\= *\"? *(hotpink|red|blue|green|lime|black|brown|gold|maroon|purple|violet|yellow|orange|navy|white|magenta|teal|olive|pink|gray|grey|dimgray|silver|cyan|darkblue|darkgreen|darkred|darkorange|Indigo|MidnightBlue|SteelBlue|royalblue|LightSeaGreen|OliveDrab|forestgreen|mediumseagreen|lightgreen|tan|cornflowerblue|dodgerblue|lightblue|cadetblue|mediumslateblue|darkgray|darkslategray|firebrick)\"? *\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font *\>/gi,'$2<span style="color:$1;">$3</span>$4');
myContent = myContent.replace(/\<font *color *\= *\"? *([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"? *\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font *\>/gi,'$2<span style="color:#$1;">$3</span>$4');
myContent = myContent.replace(/\<font color *\= *\"?jade\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$2<span style="color:#0ade00;">$3</span>$4');
// close with /font color
myContent = myContent.replace(/\<font *color *\= *\"? *(\#[a-f0-9][a-f0-9][a-f0-9])\"? *\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font color\>/gi,'$2<span style="color:$1;">$3</span>$4');
myContent = myContent.replace(/\<font *color *\= *\"? *(\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"? *\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font color\>/gi,'$2<span style="color:$1;">$3</span>$4');
myContent = myContent.replace(/\<font *color *\= *\"? *(red|blue|green|lime|black|brown|gold|maroon|purple|violet|yellow|orange|navy|white|magenta|teal|olive|pink|gray|grey|dimgray|silver|cyan|darkblue|darkgreen|darkred|darkorange|Indigo|MidnightBlue|SteelBlue|royalblue|LightSeaGreen|OliveDrab|forestgreen|mediumseagreen|lightgreen|tan|cornflowerblue|dodgerblue|lightblue|cadetblue|mediumslateblue|darkgray|darkslategray)\"? *\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font color\>/gi,'$2<span style="color:$1;">$3</span>$4');
myContent = myContent.replace(/\<font *color *\= *\"? *([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"? *\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font color\>/gi,'$2<span style="color:#$1;">$3</span>$4');
myContent = myContent.replace(/\<font color\=\" *(\#[a-f0-9][a-f0-9][a-f0-9])\" *face\=\"([\w \,]*)\"\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$3<span style="color:$1;font-family:$2;">$4</span>$5');
myContent = myContent.replace(/\<font color\=\" *(\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\" *face\=\"([\w \,]*)\"\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$3<span style="color:$1;font-family:$2;">$4</span>$5');
myContent = myContent.replace(/\<font color\=\"(red|blue|green|lime|black|brown|gold|maroon|purple|violet|yellow|orange|navy|white|magenta|teal|olive|pink|gray|grey|dimgray|silver|cyan|darkblue|darkgreen|darkred|darkorange|Indigo|MidnightBlue|SteelBlue|royalblue|LightSeaGreen|OliveDrab|forestgreen|mediumseagreen|lightgreen|tan|cornflowerblue|dodgerblue|lightblue|cadetblue|mediumslateblue|darkgray|darkslategray)\" *face\=\"([\w \,]*)\"\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$3<span style="color:$1;font-family:$2;">$4</span>$5');
myContent = myContent.replace(/\<font color\=\"([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\" *face\=\"([\w \,]*)\"\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$3<span style="color:#$1;font-family:$2;">$4</span>$5');
myContent = myContent.replace(/\<font face\=\"([\w \,]*)\" *color\= *\" *(\#[a-f0-9][a-f0-9][a-f0-9])\" *\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$3<span style="font-family:$1;color:$2;">$4</span>$5');
myContent = myContent.replace(/\<font face\=\"([\w \,]*)\" *color\= *\" *(\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\" *\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$3<span style="font-family:$1;color:$2;">$4</span>$5');
myContent = myContent.replace(/\<font face\=\"([\w \,]*)\" *color\= *\"(deeppink|red|blue|green|lime|black|brown|gold|maroon|purple|violet|yellow|orange|navy|white|magenta|teal|olive|pink|gray|grey|dimgray|silver|cyan|darkblue|darkgreen|darkred|darkorange|Indigo|MidnightBlue|SteelBlue|royalblue|LightSeaGreen|OliveDrab|forestgreen|mediumseagreen|lightgreen|tan|cornflowerblue|dodgerblue|lightblue|cadetblue|mediumslateblue|darkgray|darkslategray)\" *\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$3<span style="font-family:$1;color:$2;">$4</span>$5');
myContent = myContent.replace(/\<font face\=\"([\w \,]*)\" *color\= *\"([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\" *\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$3<span style="font-family:$1;color:#$2;">$4</span>$5');
// color=x size=1
myContent = myContent.replace(/\<font color *\= *\"? *(\#[a-f0-9][a-f0-9][a-f0-9])\"? size\=\"?1\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$2<span style="color:$1;font-size:x-small;">$3</span>$4');
myContent = myContent.replace(/\<font color *\= *\"? *(\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"? size\=\"?1\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$2<span style="color:$1;font-size:x-small;">$3</span>$4');
myContent = myContent.replace(/\<font color *\= *\"? *(red|blue|green|lime|black|brown|gold|maroon|purple|violet|yellow|orange|navy|white|magenta|teal|olive|pink|gray|grey|dimgray|silver|cyan|darkblue|darkgreen|darkred|darkorange|Indigo|MidnightBlue|SteelBlue|royalblue|LightSeaGreen|OliveDrab|forestgreen|mediumseagreen|lightgreen|tan|cornflowerblue|dodgerblue|lightblue|cadetblue|mediumslateblue|darkgray|darkslategray)\"? size\=\"?1\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$2<span style="color:$1;font-size:x-small;">$3</span>$4');
myContent = myContent.replace(/\<font color *\= *\"? *([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"? size\=\"?1\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$2<span style="color:#$1;font-size:x-small;">$3</span>$4');
// color=x size=2
myContent = myContent.replace(/\<font color *\= *\"? *(\#[a-f0-9][a-f0-9][a-f0-9])\"? size\=\"2\"\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$2<span style="color:$1;font-size:small;">$3</span>$4');
myContent = myContent.replace(/\<font color *\= *\"? *(\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"? size\=\"2\"\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$2<span style="color:$1;font-size:small;">$3</span>$4');
myContent = myContent.replace(/\<font color *\= *\"? *(red|blue|green|lime|black|brown|gold|maroon|purple|violet|yellow|orange|navy|white|magenta|teal|olive|pink|gray|grey|dimgray|silver|cyan|darkblue|darkgreen|darkred|darkorange|Indigo|MidnightBlue|SteelBlue|royalblue|LightSeaGreen|OliveDrab|forestgreen|mediumseagreen|lightgreen|tan|cornflowerblue|dodgerblue|lightblue|cadetblue|mediumslateblue|darkgray|darkslategray)\"? size\=\"2\"\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$2<span style="color:$1;font-size:small;">$3</span>$4');
myContent = myContent.replace(/\<font color *\= *\"? *([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"? size\=\"2\"\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$2<span style="color:#$1;font-size:small;">$3</span>$4');
// color=x size=4
myContent = myContent.replace(/\<font color *\= *\"? *(\#[a-f0-9][a-f0-9][a-f0-9])\"? size\=\"4\"\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$2<span style="color:$1;font-size:large;">$3</span>$4');
myContent = myContent.replace(/\<font color *\= *\"? *(\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"? size\=\"4\"\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$2<span style="color:$1;font-size:large;">$3</span>$4');
myContent = myContent.replace(/\<font color *\= *\"? *(red|blue|green|lime|black|brown|gold|maroon|purple|violet|yellow|orange|navy|white|magenta|teal|olive|pink|gray|grey|dimgray|silver|cyan|darkblue|darkgreen|darkred|darkorange|Indigo|MidnightBlue|SteelBlue|royalblue|LightSeaGreen|OliveDrab|forestgreen|mediumseagreen|lightgreen|tan|cornflowerblue|dodgerblue|lightblue|cadetblue|mediumslateblue|darkgray|darkslategray)\"? size\=\"4\"\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$2<span style="color:$1;font-size:large;">$3</span>$4');
myContent = myContent.replace(/\<font color *\= *\"? *([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"? size\=\"4\"\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$2<span style="color:#$1;font-size:large;">$3</span>$4');
// size=1 color=x
myContent = myContent.replace(/\<font size\=\"?1\"? color *\= *\"? *(\#[a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$2<span style="font-size:x-small;color:$1;">$3</span>$4');
myContent = myContent.replace(/\<font size\=\"?1\"? color *\= *\"? *(\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$2<span style="font-size:x-small;color:$1;">$3</span>$4');
myContent = myContent.replace(/\<font size\=\"?1\"? color *\= *\"? *(red|blue|green|lime|black|brown|gold|maroon|purple|violet|yellow|orange|navy|white|magenta|teal|olive|pink|gray|grey|dimgray|silver|cyan|darkblue|darkgreen|darkred|darkorange|Indigo|MidnightBlue|SteelBlue|royalblue|LightSeaGreen|OliveDrab|forestgreen|mediumseagreen|lightgreen|tan|cornflowerblue|dodgerblue|lightblue|cadetblue|mediumslateblue|darkgray|darkslategray)\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$2<span style="font-size:x-small;color:$1;">$3</span>$4');
myContent = myContent.replace(/\<font size\=\"?1\"? color *\= *\"? *([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$2<span style="font-size:x-small;color:#$1;">$3</span>$4');
// size=2 color=x
myContent = myContent.replace(/\<font size\=\"?2\"? color *\= *\"? *(\#[a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$2<span style="font-size:small;color:$1;">$3</span>$4');
myContent = myContent.replace(/\<font size\=\"?2\"? color *\= *\"? *(\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$2<span style="font-size:small;color:$1;">$3</span>$4');
myContent = myContent.replace(/\<font size\=\"?2\"? color *\= *\"? *(red|blue|green|lime|black|brown|gold|maroon|purple|violet|yellow|orange|navy|white|magenta|teal|olive|pink|gray|grey|dimgray|silver|cyan|darkblue|darkgreen|darkred|darkorange|Indigo|MidnightBlue|SteelBlue|royalblue|LightSeaGreen|OliveDrab|forestgreen|mediumseagreen|lightgreen|tan|cornflowerblue|dodgerblue|lightblue|cadetblue|mediumslateblue|darkgray|darkslategray)\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$2<span style="font-size:small;color:$1;">$3</span>$4');
myContent = myContent.replace(/\<font size\=\"?2\"? color *\= *\"? *([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$2<span style="font-size:small;color:#$1;">$3</span>$4');
// face=y color=x size=1
myContent = myContent.replace(/\<font *face\=\"([\w \,]*)\" *color *\= *\"? *(\#[a-f0-9][a-f0-9][a-f0-9])\"? size\=\"?1\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$3<span style="font-family:$1;color:$2;font-size:x-small;">$4</span>$5');
myContent = myContent.replace(/\<font *face\=\"([\w \,]*)\" *color *\= *\"? *(\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"? size\=\"?1\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$2<span style="font-family:$1;color:$1;font-size:x-small;">$3</span>$4');
myContent = myContent.replace(/\<font *face\=\"([\w \,]*)\" *color *\= *\"? *(red|blue|green|lime|black|brown|gold|maroon|purple|violet|yellow|orange|navy|white|magenta|teal|olive|pink|gray|grey|dimgray|silver|cyan|darkblue|darkgreen|darkred|darkorange|Indigo|MidnightBlue|SteelBlue|royalblue|LightSeaGreen|OliveDrab|forestgreen|mediumseagreen|lightgreen|tan|cornflowerblue|dodgerblue|lightblue|cadetblue|mediumslateblue|darkgray|darkslategray)\"? size\=\"?1\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$3<span style="font-family:$1;color:$2;font-size:x-small;">$4</span>$5');
myContent = myContent.replace(/\<font *face\=\"([\w \,]*)\" *color *\= *\"? *([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"? size\=\"?1\"?\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$3<span style="font-family:$1;color:#$2;font-size:x-small;">$4</span>$5');
// face=y color=x size=2
myContent = myContent.replace(/\<font *face\=\"([\w \,]*)\" *color *\= *\"? *(\#[a-f0-9][a-f0-9][a-f0-9])\"? size\=\"2\"\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$3<span style="font-family:$1;color:$2;font-size:small;">$4</span>$5');
myContent = myContent.replace(/\<font *face\=\"([\w \,]*)\" *color *\= *\"? *(\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"? size\=\"2\"\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$3<span style="font-family:$1;color:$2;font-size:small;">$4</span>$5');
myContent = myContent.replace(/\<font *face\=\"([\w \,]*)\" *color *\= *\"? *(red|blue|green|lime|black|brown|gold|maroon|purple|violet|yellow|orange|navy|white|magenta|teal|olive|pink|gray|grey|dimgray|silver|cyan|darkblue|darkgreen|darkred|darkorange|Indigo|MidnightBlue|SteelBlue|royalblue|LightSeaGreen|OliveDrab|forestgreen|mediumseagreen|lightgreen|tan|cornflowerblue|dodgerblue|lightblue|cadetblue|mediumslateblue|darkgray|darkslategray)\"? size\=\"2\"\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$3<span style="font-family:$1;color:$2;font-size:small;">$4</span>$5');
myContent = myContent.replace(/\<font *face\=\"([\w \,]*)\" *color *\= *\"? *([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"? size\=\"2\"\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$3<span style="font-family:$1;color:#$2;font-size:small;">$4</span>$5');
// face=y color=x size=3
myContent = myContent.replace(/\<font *face\=\"([\w \,]*)\" *color *\= *\"? *(\#[a-f0-9][a-f0-9][a-f0-9])\"? size\=\"3\"\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$3<span style="font-family:$1;color:$2;font-size:medium;">$4</span>$5');
myContent = myContent.replace(/\<font *face\=\"([\w \,]*)\" *color *\= *\"? *(\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"? size\=\"3\"\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$3<span style="font-family:$1;color:$2;font-size:medium;">$4</span>$5');
myContent = myContent.replace(/\<font *face\=\"([\w \,]*)\" *color *\= *\"? *(red|blue|green|lime|black|brown|gold|maroon|purple|violet|yellow|orange|navy|white|magenta|teal|olive|pink|gray|grey|dimgray|silver|cyan|darkblue|darkgreen|darkred|darkorange|Indigo|MidnightBlue|SteelBlue|royalblue|LightSeaGreen|OliveDrab|forestgreen|mediumseagreen|lightgreen|tan|cornflowerblue|dodgerblue|lightblue|cadetblue|mediumslateblue|darkgray|darkslategray)\"? size\=\"3\"\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$3<span style="font-family:$1;color:$2;font-size:medium;">$4</span>$5');
myContent = myContent.replace(/\<font *face\=\"([\w \,]*)\" *color *\= *\"? *([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"? size\=\"3\"\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$3<span style="font-family:$1;color:#$2;font-size:medium;">$4</span>$5');
// face=y color=x size=4
myContent = myContent.replace(/\<font *face\=\"([\w \,]*)\" *color *\= *\"? *(\#[a-f0-9][a-f0-9][a-f0-9])\"? size\=\"4\"\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$3<span style="font-family:$1;color:$2;font-size:large;">$4</span>$5');
myContent = myContent.replace(/\<font *face\=\"([\w \,]*)\" *color *\= *\"? *(\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"? size\=\"4\"\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$3<span style="font-family:$1;color:$2;font-size:large;">$4</span>$5');
myContent = myContent.replace(/\<font *face\=\"([\w \,]*)\" *color *\= *\"? *(red|blue|green|lime|black|brown|gold|maroon|purple|violet|yellow|orange|navy|white|magenta|teal|olive|pink|gray|grey|dimgray|silver|cyan|darkblue|darkgreen|darkred|darkorange|Indigo|MidnightBlue|SteelBlue|royalblue|LightSeaGreen|OliveDrab|forestgreen|mediumseagreen|lightgreen|tan|cornflowerblue|dodgerblue|lightblue|cadetblue|mediumslateblue|darkgray|darkslategray)\"? size\=\"4\"\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$3<span style="font-family:$1;color:$2;font-size:large;">$4</span>$5');
myContent = myContent.replace(/\<font *face\=\"([\w \,]*)\" *color *\= *\"? *([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])\"? size\=\"4\"\>(\[\[[^\|\]]*\|)([^\]]*)(\]\])\<\/font\>/gi,'$3<span style="font-family:$1;color:#$2;font-size:large;">$4</span>$5');
//sig specfic fixes
myContent = myContent.replace(/\<font color\=\"Light green\"\>\[\[Special\:Contributions\/SlimVirgin\|edits\]\]\<\/font\>/g,'[[Special:Contributions/SlimVirgin|<font color="Light green">edits</font>]]');
myContent = myContent.replace(/\<font color\=\"BlueViolet\"\>\[\[User\:Mythdon\|Mythdon\]\]\<\/font\>/g,'[[User:Mythdon|<span style="color:BlueViolet;">Mythdon</span>]]');
myContent = myContent.replace(/\<font color\=\"\#774400\" size\=\"2\" style\=\"padding\:1px\;border\:1px \#996600 dotted\;background-color\:\#FFFF99\"\>\[\[User talk\:Levine2112\|discuss\]\]\<\/font\>/g,'[[User talk:Levine2112|<span style="color:#774400;font-size:small;padding:1px;border:1px #996600 dotted;background-color:#FFFF99">discuss</span>]]');
myContent = myContent.replace(/\<font color\=\"990099\" size\=\"1\"\>\[\[User talk\:Fyslee\/First law\|collaborate\]\]\<\/font\>/g,'[[User talk:Fyslee/First law|<span style="color:#990099;font-size:x-small;">collaborate</span>]]');
myContent = myContent.replace(/\<font face\=\"Blackadder\" *color\=\"\#2B0066\"\>\[\[User\:Shell_Kinney\|Shell\]\]\<\/font\>/g,'[[User:Shell_Kinney|<span style="font-family:Blackadder;color:#2B0066;">Shell</span>]]');
myContent = myContent.replace(/\<font color\=\"990099\" size\=\"1\"\>\[\[User talk\:Fyslee\|talk\]\]\<\/font\>/g,'[[User talk:Fyslee|<span style="color:#990099;font-size:x-small;">talk</span>]]');
myContent = myContent.replace(/\<font color\=\"Crimson\"\>\[\[Special\:Contributions\/AndriusG\|iu\]\]\<\/font\>/g,'[[Special:Contributions/AndriusG|<span style="color:Crimson;">iu</span>]]');
myContent = myContent.replace(/\<font color\=\"black\" size\=\"4\"\>\[\[User_talk\:Unre4L\|ﺍﹸﻧﺮﮮﺍﻝ\]\]\<\/font\>/g,'[[User_talk:Unre4L|<span style="color:black;font-size:large;">ﺍﹸﻧﺮﮮﺍﻝ</span>]]');
myContent = myContent.replace(/\<font color\=\"saffron\"\>\[\[User\:AMbroodEY\| Amey Aryan DaBrood\]\]\<\/font\>/g,'[[User:AMbroodEY|<font color="saffron"> Amey Aryan DaBrood</font>]]');
myContent = myContent.replace(/\<font color\=\"BrightRed\"\>\[\[User_talk\:Academy Leader\|\'\'FOCUS\!\'\'\]\]\<\/font\>/g,'[[User_talk:Academy Leader|<font color="BrightRed">\'\'FOCUS!\'\'</font>]]');
myContent = myContent.replace(/\<font color\=\"darksalmon\" size\=\"\+1\"\>\[\[User_talk\:Olaf Stephanos\|\&\#9997\;\]\]\<\/font\>/g,'[[User_talk:Olaf Stephanos|<span style="color:darksalmon;font-size:large;">✍</span>]]');
myContent = myContent.replace(/\<font style\=\"text-shadow\:\#F8F8FF 0\.2em 0\.2em 0\.4em\,\#F4BBFF -0\.2em -0\.3em 0\.6em\,\#BFFF00 0\.8em 0\.8em 0\.6em\;color\:\#A2006D\"\>\[\[User\:Atsme\|Atsme\]\]\<\/font\>/g,'[[User:Atsme|<span style="text-shadow:#F8F8FF 0.2em 0.2em 0.4em,#F4BBFF -0.2em -0.3em 0.6em,#BFFF00 0.8em 0.8em 0.6em;color:#A2006D">Atsme</span>]]');
myContent = myContent.replace(/\<font color\=\"DarkCyan\"\>\[\[User\:Notorious4life\|\'\'\'\'\'№tǒŖïøŭş\'\'\'\'\'\]\]\<\/font\>/g,'[[User:Notorious4life|<span style="color:DarkCyan;">\'\'\'\'\'№tǒŖïøŭş\'\'\'\'\'</span>]]');
myContent = myContent.replace(/\<font size\=\-1 color\=129DBC\>\[\[User talk\:TShilo12\|TALK\]\]\<\/font\>/g,'[[User talk:TShilo12|<span style="color:#129DBC;">TALK</span>]]');
myContent = myContent.replace(/\<font style\=\"color\:\#975612\"\>\[\[User\:AzaToth\|Aza\]\]\<\/font\>/g,'[[User:AzaToth|<span style="color:#975612">Aza</span>]]');
myContent = myContent.replace(/\<font style\=\"color\:\#325596\"\>\[\[User_talk:AzaToth\|Toth\]\]\<\/font\>/g,'[[User_talk:AzaToth|<span style="color:#325596">Toth</span>]]');
myContent = myContent.replace(/\<font color\=\"midnightblue\"\>\[\[Tony\]\]\<\/font\>/g,'[[Tony|<span style="color:midnightblue;">Tony</span>]]');
myContent = myContent.replace(/\<font color\=\"black\" style\=\"bold\"\>\[\[User_talk\:Asdfg12345\|\'\'\'12345\'\'\'\]\]\<\/font\>/g,'[[User_talk:Asdfg12345|<span style="color:black;">\'\'\'12345\'\'\'</span>]]');
myContent = myContent.replace(/\<font size\=\"1\" color\=\"green\"\>\[\[User_talk\:Karnifro\|\( Talk to me\)\]\]\<\/font\>/g,'[[User_talk:Karnifro|<span style="font-size:x-small;color:green;">( Talk to me)</span>]]');
myContent = myContent.replace(/\<font size\=\"1\" color\=\"green\"\>\[\[User_talk\:AlexCovarrubias\|\( Talk\? \)\]\]\<\/font\>/g,'[[User_talk:AlexCovarrubias|<span style="font-size:x-small;color:green;">( Talk? )</span>]]');
myContent = myContent.replace(/\<font color\=\"magenta\" size\=\"\+8\"\>\[\[User talk\:nichalp\|\&\#x2709\;\]\]\<\/font\>/g,'[[User talk:nichalp|<span style="color:magenta;font-size:xxx-large;">✉</span>]]');
myContent = myContent.replace(/\<font face\=\"Palatino Linotype\" size\=\"2\.5\" color\=\"\#\#00008C\"\>\[\[User Talk\:AlphaEta\|AlphaEta\]\]\<\/font\>/g,'[[User Talk:AlphaEta|<font face="Palatino Linotype" size="2.5" color="##00008C">AlphaEta</font>]]');
myContent = myContent.replace(/\<font color\=\"darkred\" size\=\"-2\"\>\[\[User talk\:Lulu of the Lotus-Eaters\|talk\]\]\<\/font\>/g,'[[User talk:Lulu of the Lotus-Eaters|<span style="color:darkred;font-size:x-small;">talk</span>]]');
myContent = myContent.replace(/\<font color\=\"purple\"\>\<font style\=\"font-family\: wretched\" color\=\"\#461D7C\"\>\[\[User\:Sampo_Torgo\|Sampo\]\]\<\/font\>\<\/font\>/g,'[[User:Sampo_Torgo|<span style="font-family: wretched;color:#461D7C;">Sampo</span>]]');
myContent = myContent.replace(/\<font style\=\"font-family\: wretched\" color\=\"\#E9B200\"\> Torgo\<\/font\>/g,'<span style="font-family: wretched;color:#E9B200;"> Torgo</span>');
myContent = myContent.replace(/\<font style\=\"font-family\: wretched\" color\=\"\#E9B200\"\>\[\[User\:Sampo_Torgo\|Torgo\]\]\<\/font\>/g,'[[User talk:Sampo_Torgo|<span style="font-family: wretched;color:#E9B200;">Torgo</span>]]');
myContent = myContent.replace(/\<sup\>\<font style\=\"font-family\: Tahoma\" color\=\"\#8CB811\"\>\[\[User talk\:Sampo_Torgo\|\[talk\]\]\]\<\/font\>\<\/sup\>/g,'[[User talk:Sampo_Torgo|<sup style="font-family: Tahoma;color:#8CB811;">[talk]</sup>]]');
myContent = myContent.replace(/\<font color\=\"\#FFFF00\;background\:red\;\"\>\[\[User\:Mateyahoy\|\'\'\'神猴泰\'\'\'\]\]\<\/font\>/g,'[[User:Mateyahoy|<span style="color:#FFFF00;background:red;">\'\'\'神猴泰\'\'\'</span>]]');
myContent = myContent.replace(/\[\[User\:DeltaQuad\|\<font color\=\"green\"\>DQ \<font color\=\"red\"\> mobile\]\]\[\[User_Talk\:DeltaQuad\|\<font color\=\"blue\"\> \(ʞlɐʇ\) \]\]\<\/font\>\<\/font\>\<\/font\>/g,'[[User:DeltaQuad|<span style="color:green;">DQ</span> <span style="color:red;"> mobile</span>]][[User_Talk:DeltaQuad|<span style="color:blue;"> (ʞlɐʇ) </span>]]');
myContent = myContent.replace(/\<font color\=\"\#66699\"\>\[\[User\:QwerpQwertus\|Qwerp\]\]\<\/font\>/g,'[[User:QwerpQwertus|<font color="#66699">Qwerp</font>]]');
myContent = myContent.replace(/\<font style\=\"color\: \#082567\"\>\[\[User\:Husond\|Hús\]\]\<\/font\>/g,'[[User:Husond|<font style="color: #082567">Hús</font>]]');
myContent = myContent.replace(/\<font style\=\"color\: \#082567\"\>\[\[User talk\:Husond\|nd\]\]\<\/font\>/g,'[[User talk:Husond|<font style="color: #082567">nd</font>]]');
myContent = myContent.replace(/\<font color\=\"(\w*)\" size\=\"1px\"\>\[\[User talk\:Chantoke\|talk\]\]\<\/font\>/g,'[[User talk:Chantoke|<span style="color:$1;font-size:x-small;">talk</span>]]');
myContent = myContent.replace(/\<FONT FACE\=\"Benguiat Bk BT\" Color\=\"\#\#003399\"\>\[\[User\:([^\|\]]*)\|([^\|\]]*)\]\]\<\/FONT\>/g,'[[User:$1|<FONT FACE="Benguiat Bk BT" Color="##003399">$2</FONT>]]');
myContent = myContent.replace(/\<FONT FACE\=\"Benguiat Bk BT\" Color\=\" \#254117\"\>\[\[User talk\:([^\|\]]*)\|([^\|\]]*)\]\]\<\/FONT\>/g,'[[User talk:$1|<FONT FACE="Benguiat Bk BT" Color=" #254117">$2</FONT>]]');
myContent = myContent.replace(/\<font face\=\"Bradley Hand ITC\"\>\[\[User\:CAPTAIN RAJU\|\'\'\'CAPTAIN RAJU\'\'\'\]\]\<\/font\>/g,'<span style="font-family:Bradley Hand ITC;">[[User:CAPTAIN RAJU|\'\'\'CAPTAIN RAJU\'\'\']]</span>');
myContent = myContent.replace(/\<font color\=\"oceanblue\"\>\[\[User\:Warko\|(\w*)\]\]\<\/font\>/g,'[[User:Warko|<font color="oceanblue">$1</font>]]');
myContent = myContent.replace(/\<sup\> \<font color\=\"orange\"\>\[\[User_talk\:Bratsche\|\(talk\) \]\]\<\/sup\>\<\/font color\>/g,' [[User_talk:Bratsche|<sup style="color:orange;">(talk) </sup>]]');
myContent = myContent.replace(/\[\[User\:Merovingian\|\<font color\=\"green\"\>\<big\>R\<\/big\>yan\!\]\]\<\/font\>/g,'[[User:Merovingian|<font color="green"><big>R</big>yan!</font>]]');
myContent = myContent.replace(/\<font style\=\"border\: solid 2px orange\; background-color\:\#991199\" color\=\"white\"\>\[\[User\:\(chubbstar\)\|\(chubbstar\)\]\]\<\/font\>/g,'[[User:(chubbstar)|<span style="border: solid 2px orange; background-color:#991199;color:white;">(chubbstar)</span>]]');
myContent = myContent.replace(/\<font color\=\"copper\"\>\[\[User\:OAS\|OAS\]\]\<\/font\>/g,'[[User:OAS|<font color="copper">OAS</font>]]');
myContent = myContent.replace(/\<font color\=\'(\#[0-9A-F][0-9A-F][0-9A-F][0-9A-F][0-9A-F][0-9A-F])\'\>\[\[([^\|\]]*)\|([^\|\]]*)\]\]\<\/font\>/g,'[[User talk:$2|<span style="color:$1;">$3</span>]]');
myContent = myContent.replace(/\<font face\=\"Papyrus\" color\=\"green\" size\=\"2\"\>\[\[User\:Sabri76\|\'\'\'Sabri76\'\'\'\'\]\]\<\/font\>/g,'[[User:Sabri76|<span style="font-family:Papyrus;color:green;font-size:small;">\'\'\'Sabri76\'\'\'\'</span>]]');
myContent = myContent.replace(/\<font color\=\"646060\#\"\>\[\[User\:Adrian Lamo\|A\]\]\<\/font\>/g,'[[User:Adrian Lamo|<font color="646060#">A</font>]]');
myContent = myContent.replace(/\<font color\=\"\#ppccpp\"\>\[\[User\:DrChrissy\|DrChrissy\]\]\<\/font\>/g,'[[User:DrChrissy|<font color="#ppccpp">DrChrissy</font>]]');
myContent = myContent.replace(/\<font color\=\"red\"\>\[\[User talk\:Lesfer\|\<big\>\&\#9742\;\<\/big\>\]\]\<\/font color\>/g,'[[User talk:Lesfer|<big style="color:red;">☎</big>]]');
myContent = myContent.replace(/(\'\'\')(\<font color\=\"800080\"\>)(\[\[User\:Transity\|Transity\]\]\'\'\')/g,'$2$1$3');
myContent = myContent.replace(/\<font face\=\"Arial\" style\=\"background\: \#ffffff\; font-weight\: bold\; text-decoration\: none\;\" color\=\"\#000000\"\>\[\[user\:stickguy\|stickguy \(\:\^›\)\&mdash\;\]\]\<\/font\>/g,'[[user:stickguy|<span style="font-family:Arial;background: #ffffff; font-weight: bold; text-decoration: none;color:#000000;">stickguy (:^›)—</span>]]');
myContent = myContent.replace(/\<font face\=\"Edwardian Script ITC\" color\=\"\#99ccfff\" size\=\"(\d)\"\>\[\[User\:Travisthurston\|([\w ]*)\]\]\<\/font\>/g,'[[User:Travisthurston|<font face="Edwardian Script ITC" color="#99ccfff" size="$1">$2</font>]]');
myContent = myContent.replace(/\<font face\=\"arial\" color\=\"\#99ccfff\"\>\[\[User\:Travisthurston\|([\w ]*)\]\]\<\/font\>/g,'[[User:Travisthurston|<font face="arial" color="#99ccfff">$1</font>]]');
myContent = myContent.replace(/\<font color\=\"black\" face\=\"Verdana\" size\=\"1\"\>\[\[user\:RZ heretic\|\<u\>RZ heretic\<\/u\>\]\]\<\/font\>/g,'[[user:RZ heretic|<u style="color:black;font-family:Verdana;font-size:x-small;">RZ heretic</u>]]');
myContent = myContent.replace(/\<sup\>\<font color\=blue\>\[\[user_talk\:Jtdirl\|\(caint\)\]\]\<\/sup\>\<\/font\>/g,'[[user_talk:Jtdirl|<sup style="color:blue;">(caint)</sup>]]');
myContent = myContent.replace(/\<font color\=\"green\"\>\[\[User\:Shauri\|(\w*)\]\]\<\/font color\>/g,'[[User:Shauri|<span style="color:green;">$1</span>]]');
myContent = myContent.replace(/\<font color\=\"peach\"\>\[\[User_talk\:Shauri\|smile\!\]\]\<\/font color\>/g,'[[User_talk:Shauri|<font color="peach">smile!</font color>]]');
myContent = myContent.replace(/\<font face\=\"georgia\, times\, times roman\" color\=\"\#990000\" size\=\"-3\"\>\[\[User\:Pleather \| P L E A T H E R \]\]\<\/font\>/g,'[[User:Pleather |<span style="font-family:georgia, times, times roman;color:#990000;font-size:x-small;"> P L E A T H E R </span>]]');
//myContent = myContent.replace(/\<font color\=\"002bb8\"\>(\[\{\{SERVER\}\}\/[^\] ]*) ([^\]]*)\]\<\/font\>/g,'$1 <span style="color:#002bb8;">$2</span>]');
//myContent = myContent.replace(/\<font color\=\"002bb8\"\>(\[\{\{fullurl\:Special\:Log\|type\=[^\] ]*) ([^\]]*)\]\<\/font\>/g,'$1 <span style="color:#002bb8;">$2</span>]');
//myContent = myContent.replace(/\<font color\=002BB8\>\[\{\{fullurl\:user talk\:freakofnurture\|action\=edit\§ion\=new\}\} talk\]\<\/font\>/g,'[{{fullurl:user talk:freakofnurture|action=edit§ion=new}} <span style="color:#002BB8;">talk</span>]');
//myContent = myContent.replace(/\<font color\=\"002bb8\"\>(\[\{\{fullurl\:Special[^\] ]*) ([^\]]*)\]\<\/font\>/g,'$1 <span style="color:#002bb8;">$2</span>]');
//myContent = myContent.replace(/\<font color\=\"002bb8\"\>(\[http[^\] ]*) ([^\]]*)\]\<\/font\>/g,'$1 <span style="color:#002bb8;">$2</span>]');
//myContent = myContent.replace(/\[\[Special\:Contributions\/Tbhotch\|\<font color\=\"\#006600\"\>\(ↄ\)\]\]\,/g,'[[Special:Contributions/Tbhotch|<font color="#006600">(ↄ)</font>]],');
//myContent = myContent.replace(/\<font color\=\"\#000090\"\>\[\[User talk\:Raaggio\|\<small\>\(talk\)\<\/small\>\]\]\'\'\'\'\'\<\/font\>/g,'[[User talk:Raaggio|<small style="color:#000090;">(talk)</small>]]\'\'\'\'\'</font>');
//myContent = myContent.replace(/(\<font color\=\"\#008000\"\>)(\'\'\'\'\')(\[\[User\:Raaggio)/g,'$2$1$3');
//myContent = myContent.replace(/\<font color\=\"green\"\>\[\[User\:Cyberdog958\|\'\'cyberdog\'\'\<\/font\>\<font color\=\"orange\"\>\'\'\'958\'\'\'\<\/font\>\]\]/g,'[[User:Cyberdog958|<span style="color:green;">\'\'cyberdog\'\'</span><span style="color:orange;">\'\'\'958\'\'\'</span>]]');
//myContent = myContent.replace(/\<sup\>\[\[User talk\:Cyberdog958\|\<font color\=\"green\"\>Talk\]\]\<\/font\>\<\/sup\>/g,'[[User talk:Cyberdog958|<sup style="color:green;">Talk</sup>]]');
myContent = myContent.replace(/\<font face\=\"sprint SF\" color\=\"\#66CCFF\" size\=\"larger\"\>\[\[User\:AL2TB\|AL2TB\]\]\<\/font\>/g,'[[User:AL2TB|<font face="sprint SF" color="#66CCFF" size="larger">AL2TB</font>]]');
myContent = myContent.replace(/\<font color\=\"\#669900\"\>\[\[User_talk\:Paul Tracy\|talk\]\]\<\/sub\>\<\/font\>/g,'[[User_talk:Paul Tracy|<span style="color:#669900;">talk</span>]]</sub>');
myContent = myContent.replace(/\<font color\=\"peach\"\>\[\[User_talk\:Shauri\|([\w\!]*)\]\]\<\/font color\>/g,'[[User_talk:Shauri|<font color="peach">$1</font color>]]');
myContent = myContent.replace(/\<font color\=\"(\#[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9])\" style\=\"text-decoration\: none\"\>\[\[([^\|]*)\|([^\]]*)\]\]\<\/font\>/g,'[[$2|<span style="color:$1;text-decoration:none;">$3</span>]]');
myContent = myContent.replace(/\<font style\=\"color\:\#975612\"\>\[\[User\:AzaToth\|Aza\]\]\<\/font\>/g,'[[User:AzaToth|<span style="color:#975612">Aza</span>]]');
myContent = myContent.replace(/\<font style\=\"color\:\#325596\"\>\[\[User_talk\:AzaToth\|Toth\]\]\<\/font\>/g,'[[User_talk:AzaToth|<span style="color:#325596">Toth</span>]]');
myContent = myContent.replace(/\<font color\=\"green\" style\=\"font-size\: 70\%\"\>\[\[\:ml:User talk\:Praveenp\|talk\]\]\<\/font\>/g,'[[:ml:User talk:Praveenp|<span style="color:green;font-size: 70%">talk</span>]]');
myContent = myContent.replace(/\<font face\=\"Ancestory SF\" size\=\"4\" color\=\"purple\"\>\[\[User\:Atlantis Hawk\|Atlantis Hawk\]\]\<\/font\>/g,'[[User:Atlantis Hawk|<span style="font-family:Ancestory SF;font-size:large;color:purple;">Atlantis Hawk</span>]]');
myContent = myContent.replace(/\<sup\>\<font style\=\"background\: \#0000\" face\=\"Ariel\" color\=\"\#00AA00\"\>\[\[User_talk\:FelineFanatic3\|talk\]\]\<\/font\>\<\/sup\>/g,'[[User_talk:FelineFanatic3|<sup style="background:#0000;font-family:Ariel;color:#00AA00;">talk</sup>]]');
myContent = myContent.replace(/\<sup\>\<font style\=\"background\: \#0000\" face\=\"Ariel\" color\=\"\#00AA00\"\>\[\[Talk\:Oscarthecat\|talk\]\]\<\/font\>\<\/sup\>/g,'[[Talk:Oscarthecat|<sup style="background:#0000;font-family:Ariel;color:#00AA00;">talk</sup>]]');
myContent = myContent.replace(/\<font face\=\"Papyrus\" size\=\"3\" color\=\"\#800080\"\>\[\[User\:Liz\|\'\'\'\'\'L\'\'\'\'\'iz\]\]\<\/font\>/g,'[[User:Liz|<span style="font-family:Papyrus;font-size:medium;color=#800080;">\'\'\'\'\'L\'\'\'\'\'iz</span>]]');
myContent = myContent.replace(/\<font face\=\"([\w ]*)\" size\=\"4\" color\=\"\#800080\"\>\[\[User\:Liz\|\'\'\'\'\'L\'\'\'\'\'iz\]\]\<\/font\>/g,'[[User:Liz|<span style="font-family:$1;font-size:large;color:#800080;">\'\'\'\'\'L\'\'\'\'\'iz</span>]]');
myContent = myContent.replace(/\<font color\=\"Green\"\>\[\[(Portal\:Ukraine\/[\w\d -]*)\]\]\<\/font color\>/g,'[[$1|<span style="color:Green;">$1</span>]]');
myContent = myContent.replace(/\<b\>\<font face\=\"Verdana\" size\=\"4\" color\=\"\#FF0000\"\>\[\[User\:Haza-w\|haz\]\]\<\/font\>\<\/b\>/g,'[[User:Haza-w|<b style="font-family:Verdana;font-size:large;color:#FF0000;">haz</b>]]');
myContent = myContent.replace(/\<font color\=\"FF000000\"\>(\[\[User\:فيصل\|)(\'\'\'Faisal \'\'\')(\]\])\<\/font\>/g,'$1<span style="color:#FF0000;">$2</span>$3');
myContent = myContent.replace(/\<sup\>\<font color\=\"\#774400\" size\=\"1\" style\=\"padding\:1px\;border\:1px \#996600dotted\;background-color\:\#FFFF99\"\>\[\[User talk\:Levine2112\|([^\]]*)\]\]\<\/font\>\<\/sup\>/g,'[[User talk:Levine2112|<sup style="color:#774400;font-size:x-small;padding:1px;border:1px #996600dotted;background-color:#FFFF99">$1</sup>]]');
myContent = myContent.replace(/\<sup\>\<font color\=\"\#774400\" size\=\"1\" style\=\"padding\:1px\;border\:1px \#996600 dotted\;background-color\:\#FFFF99\"\>\[\[User talk\:Levine2112\|([^\]]*)\]\]\<\/font\>\<\/sup\>/g,'[[User talk:Levine2112|<sup style="color:#774400;font-size:x-small;padding:1px;border:1px #996600 dotted;background-color:#FFFF99">$1</sup>]]');
myContent = myContent.replace(/\<sup\>\<font color\=\"\#774400\" size\=\"1\" style\=\"padding\:1px\;border\:1px \#996600 dotted\;background\:\#FFFF99\"\>\[\[User talk\:Levine2112\|([^\]]*)\]\]\<\/font\>\<\/sup\>/g,'[[User talk:Levine2112|<sup style="color:#774400;font-size:x-small;padding:1px;border:1px #996600 dotted;background:#FFFF99">$1</sup>]]');
myContent = myContent.replace(/\<font color\=\"\#99000\"\>\[\[User\:Sophrosune\|Sophrosune\]\]\<\/font\>\<font color\=\"\#550000\"\>\ \;\[\[User talk\:Sophrosune\|\(talk\)\]\]\<\/font\>/g,'[[User:Sophrosune|<font color="#99000">Sophrosune</font>]] [[User talk:Sophrosune|<span style="color:#550000;">(talk)</span>]]');
myContent = myContent.replace(/\<font color\=\#000080 face\=times new roman\>\[\[User\:Donmega60645\|Don\]\]\<\/FONT\>/g,'[[User:Donmega60645|<span style="color:#000080;font-family:times new roman;">Don</span>]]');
myContent = myContent.replace(/\<FONT COLOR\=\#0000CD FACE\=VERDANA \>\<sup\>\[\[User_Talk\:Donmega60645\|\<b\>MEGĂ\<\/b\>\]\]\<\/sup\>\<\/font\>/g,'<sup>[[User_Talk:Donmega60645|<b style="color:#0000CD;font-family:VERDANA;">MEGĂ</b>]]</sup>');
myContent = myContent.replace(/\<FONT COLOR\=\#000080 FACE\=TIMES NEW ROMAN\>\<sup\>\[\[User_Talk\:Donmega60645\|\<b\>Talk\<\/b\>\]\]\<\/sup\>\<\/font\>/g,'<sup>[[User_Talk:Donmega60645|<b style="color:#000080;font-family:TIMES NEW ROMAN;">Talk</b>]]</sup>');
myContent = myContent.replace(/\<font color\=\#7fffd4\>\[\[User\:V\. Molotov\|V\]\]\'\'\'\<font color\=\#40e0d0\>\[\[Wikipedia\:Esperanza\|\/\]\]\'\'\'\<font color\=\#48d1cc\>\[\[User_talk\:V\. Molotov\|M\]\]\'\'\'\<\/font\>\<\/font\>\<\/font\>/g,'[[User:V. Molotov|<span style="color:#7fffd4;">V</span>]]\'\'\'[[Wikipedia:Esperanza|<span style="color:#40e0d0;">/</span>]]\'\'\'[[User_talk:V. Molotov|<span style="color:#48d1cc;">M</span>]]');
myContent = myContent.replace(/\<font style\=\"color\:\#00F\;\"\>\[\[User\:Scalene\/Esperanza\|Є\]\]\<\/font\>/g,'[[User:Scalene/Esperanza|<span style="color:#00F;">Є</span>]]');
myContent = myContent.replace(/\<font color\=\"(\w*)\" style\=\"BACKGROUND-COLOR\: \#([0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f])\"\>\[\[User\:Gaurav Pruthi\|Gaurav Pruthi\]\]\<\/font\>/g,'[[User:Gaurav Pruthi|<span style="color:$1;BACKGROUND-COLOR: #$2">Gaurav Pruthi</span>]]');
myContent = myContent.replace(/\<sup\>\<font color\=\"\#([0-9A-F][0-9A-F][0-9A-F][0-9A-F][0-9A-F][0-9A-F])\" style\=\"BACKGROUND-COLOR\: \#ffcc99\"\>\[\[User_talk\:Gaurav Pruthi\|talk\]\]\<\/font\>\<\/sup\>/g,'[[User_talk:Gaurav Pruthi|<sup style="color:#$1;BACKGROUND-COLOR: #ffcc99">talk</sup>]]');
myContent = myContent.replace(/\<font color\=\"blue\"\> \<sup\>\[\[User talk\:Arilang1234\|\'\'talk\'\'\]\]\<\/sup\>\<\/font\>/g,' [[User talk:Arilang1234|<sup style="color:blue;">\'\'talk\'\'</sup>]]');
myContent = myContent.replace(/(\[\[User\:Arilang1234\|\<)font( style\=\"color\:white\;background\:\#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9]\;\"\> *Arilang *\<\/)font(\>\]\])/gi,'$1span$2span$3');
myContent = myContent.replace(/\<font (style\=\"color\:green\; font-weight\:bold\; font-style\:italic\;\"\>)(\[\[User\:Jujutsuan\|)(Jujutsuan)\]\]\<\/font\>/g,'$2<span $1$3</span>]]');
myContent = myContent.replace(/\<font color\=\"orange\"\>\[\[User\:Obtund\|Obtund\<\/font\>\]\]/g,'[[User:Obtund|<span style="color:orange;">Obtund</span>]]');
myContent = myContent.replace(/\<font style\=\"background\: *green\" face\=\"Arial\" color\=\"\#FFFFFF\"\>\[\[User talk\:Ardenn\|Ardenn\]\]\<\/font\>/g,'[[User talk:Ardenn|<span style="background:green;font-family:Arial;color:#FFFFFF;">Ardenn</span>]]');
myContent = myContent.replace(/\<font color\=\"green\"\> \[\[User\:Nescio\|Nomen Nescio\]\]\<\/font\>/g,' [[User:Nescio|<span style="color:green;">Nomen Nescio</span>]]');
myContent = myContent.replace(/\<font style\=\"color\:\#cc1100\"\>\[\[User\:Thetruthbelow\|Matt B\.\]\]\<\/font\>/g,'[[User:Thetruthbelow|<span style="color:#cc1100">Matt B.</span>]]');
myContent = myContent.replace(/\<font style\=\"background\:\#cc1100\" color\=\"white\"\>\[\[User talk\:Thetruthbelow\|Thetruthbelow\]\]\<\/font\>/g,'[[User talk:Thetruthbelow|<span style="background:#cc1100;color:white;">Thetruthbelow</span>]]');
myContent = myContent.replace(/\<font style\=\"background\:\#cc1100\" color\=\"white\"\>\[\[User\:Thetruthbelow\|Thetruthbelow\]\]\<\/font\>/g,'[[User:Thetruthbelow|<span style="background:#cc1100;color:white;">Thetruthbelow</span>]]');
myContent = myContent.replace(/\<font color\=\"green\" face\=\"Papyrus\"\>\[\[Redmarkviolinist\]\]\<\/font\>/g,'[[User:Redmarkviolinist|<span style="color:green;font-family:Papyrus;">Redmarkviolinist</span>]]');
// myContent = myContent.replace(//g,'');
if(document.getElementById('wpTextbox1').value != myContent) {
var todomatches = myContent.match(/\]\]\<\/font\>/gi);
var extranote = '';
if (todomatches) { if (todomatches.length > 0 ) { extranote = ' (some lint still left)'; } }
document.getElementById('wpTextbox1').value=myContent;
//document.getElementById('wpSummary').value='Fix font tag [[Special:LintErrors/tidy-font-bug|lint errors]]'+extranote;
document.getElementById('wpSummary').value='Fix font tag [[Special:LintErrors/tidy-font-bug|lint errors]]';
document.getElementById('wpMinoredit').checked = true;
}
}
)}