User:Ohconfucius/script/formatgeneral.js: Difference between revisions

Content deleted Content added
tweak to MOSCAPS - improper capitalisation within infobox strings
disabling removal of punctuation within acronyms
Line 349:
regex(/(Ph)(?:\.\s?|\s)(D)\.?/g, '$1$2');
regex(/\b(B|M)(?:\.\s?|\s)(Arch|Comm|Ed|Eng|Sc|Tech)\.?(?=\W)/g, '$1$2');
// regex(/(\|[A-Z])\.\s?([A-Z])\.\s?([A-Z])\.\s?([A-Z])\.?\]\]/g, '$1$2$3$4]]');
// regex(/(\|[A-Z])\.\s?([A-Z])\.\s?([A-Z])\.?\]\]/g, '$1$2$3]]');
// regex(/(\|[A-Z])\.\s?([A-Z])\.?\]\]/g, '$1$2]]');
 
//times of day, time ranges