User:WOSlinkerBot/tabletidy.js: Difference between revisions

Content deleted Content added
WOSlinkerBot (talk | contribs)
No edit summary
WOSlinkerBot (talk | contribs)
No edit summary
Line 72:
 
myContent = myContent.replace(/\{\| *class\=\"wikitable\" *border\=\"\d\" *cellpadding\=\d* *cellspacing\=\d*/g,'{| class="wikitable"');
 
myContent = myContent.replace(/\{\| *class\=\"wikitable\" *border\=\d *cellpadding\=\d* *cellspacing\=\d*/g,'{| class="wikitable"');
myContent = myContent.replace(/\{\| *class\=\"wikitable\" *border\=\d *cellspacing\=\d* *cellpadding\=\d*/g,'{| class="wikitable"');
myContent = myContent.replace(/\{\| *class\=\"wikitable\" *border\=\d *cellpadding\=\d*/g,'{| class="wikitable"');
myContent = myContent.replace(/\{\| *class\=\"wikitable\" *border\=\d *cellspacing\=\d*/g,'{| class="wikitable"');
myContent = myContent.replace(/\{\| *class\=\"wikitable\" *cellpadding\=\d* *cellspacing\=\d* *border\=\d/g,'{| class="wikitable"');
myContent = myContent.replace(/\{\| *class\=\"wikitable\" *cellspacing\=\d* *cellpadding\=\d* *border\=\d/g,'{| class="wikitable"');
myContent = myContent.replace(/\{\| *class\=\"wikitable\" *cellpadding\=\d* *cellspacing\=\d*/g,'{| class="wikitable"');
myContent = myContent.replace(/\{\| *class\=\"wikitable\" *cellspacing\=\d* *cellpadding\=\d*/g,'{| class="wikitable"');
*/
// myContent = myContent.replace(/\{\| *class\=\"wikitable\" *border\=\d *cellpadding\=\d* *cellspacing\=\d*/g,'{| class="wikitable"');
// myContent = myContent.replace(/\{\| *class\=\"wikitable\" *border\=\d *cellspacing\=\d* *cellpadding\=\d*/g,'{| class="wikitable"');
// myContent = myContent.replace(/\{\| *class\=\"wikitable\" *border\=\d *cellpadding\=\d*/g,'{| class="wikitable"');
// myContent = myContent.replace(/\{\| *class\=\"wikitable\" *border\=\d *cellspacing\=\d*/g,'{| class="wikitable"');
// myContent = myContent.replace(/\{\| *class\=\"wikitable\" *cellpadding\=\d* *cellspacing\=\d* *border\=\d/g,'{| class="wikitable"');
// myContent = myContent.replace(/\{\| *class\=\"wikitable\" *cellspacing\=\d* *cellpadding\=\d* *border\=\d/g,'{| class="wikitable"');
// myContent = myContent.replace(/\{\| *class\=\"wikitable\" *cellpadding\=\d* *cellspacing\=\d*/g,'{| class="wikitable"');
// myContent = myContent.replace(/\{\| *class\=\"wikitable\" *cellspacing\=\d* *cellpadding\=\d*/g,'{| class="wikitable"');
 
myContent = myContent.replace(/\{\| *(border|cellpadding|cellspacing)\=\"?\d*\"? *(border|cellpadding|cellspacing)\=\"?\d*\"? *(border|cellpadding|cellspacing)\=\"?\d*\"? *class\=\"wikitable/g,'{| class="wikitable');
myContent = myContent.replace(/\{\| *(border|cellpadding|cellspacing)\=\"?\d*\"? *(border|cellpadding|cellspacing)\=\"?\d*\"? *class\=\"wikitable/g,'{| class="wikitable');