User:Ohconfucius/test/MOSNUM dates code.js: Difference between revisions

Content deleted Content added
fixed false positives
bug with timestamp removal
Line 192:
 
// eliminating time of day
ohc_regex(/(\|[ ]*author[ ]*=[ ]*)posted[\s:]/gi, "$1");
regex(/(\|[ ]*(?:date|archivedate|accessdate|author)[ ]*=[^\|\} ]*)[0-2]?\d:[0-5]\d(?:[ ]| )(?:[ap]m |[ap]\.m\. |)([A-Z]{1,2}T|UTC)[\.,]?[ ]?/gi, "$1");
 
// eliminating days of the week