Regex filter

From kanterella
Jump to navigation Jump to search

<pattern>JAF-?(CALC|SPEC|ANAL|RPT)?-(\w|\d)*-[\w\d]{2,5}</pattern> <replace>\1\2\5</replace> <pattern>(AM|MST|IAP|IMP|DVP|IS-E|IS-S|EAP|EOP|AOP|TOP|CHSO|ODSO|MP|FPP|EP|EOP|RP-RESP|RP-INST|RP-OPS|PFP|OSP|ES|RAP|SAP|ESP|ISP|ISSP|ST|SP|TP|CP|MDSO|TST|TSG|RT|PSP|CH|JF)(-\w{1,5})?((-\w?\d{1,2}\w?)?((\.\d)?\.\d{1,3}\w?)?)(-\d{1,3})?(-\d{1,3})?(\.\w{2,7})?(-\w{2,5}(\/\w{1,4})*)?</pattern> <replace>\1\2\14</replace> <pattern>DRN(-|\s|19|20)*(\d{2})(-|\s)*(\d{1,5})</pattern> <replace>\1\2\7</replace> <pattern>(NEI|Nuclear Energy Institute \(NEI\))\s?\-?(\d{1,3})\-(\d{1,3})</pattern> <replace>\1\2\6</replace> <pattern>(Task Force Traveler \(TSTF\)|Technical Specification Task Force Traveler|Technical Specifications Task Force|TSTF)[\- ](\d{1,3})(\-\w)?</pattern> <replace>\1\2\6</replace> <pattern>(10)\s?(C\.?F\.?R\.?)\s?-?(Parts?\s|\x{00A7}{1,2}\s?-?)?(\d{1,3}(\.?\d{1,4}\w?)?)[\,]*( Appendix [A-Z])?[\,]*( Criterion [IVX]+)?(([\, ]*\()?([a-z]|)(\)[\, ]*\()?(\d\d?|)(\)[\, ]*\()?([ivx]+|)(\)[\, ]*\()?([A-Z]|)(\))?)?</pattern> <replace>\1\2\20</replace> <pattern>(LIC)-(\d{3})</pattern> <replace>\1\2\5</replace> <pattern>(ENS|EN|ENF|NRC [Ee]vent|NRC [Ee]vent [Rr]eport|[Ee]vent [Nn]otification|EN[SF]? [Nn]otification|Event Number)( ?[\(\[]ENS?[\)\]] ?)?(s|[Nn]umber|[Rr]eport|S|#|\s|[Nn][Oo]\.?)*(\d{1,8})</pattern> <replace>\1\3\5\6\7</replace> <pattern>(NRC\s?)?(Genere?ic\sLetter|GL|Genere?ic\sLetter\s?\(GL\)|Generic Ltr|NRCG)(s|\s|-|20|19|no\.?)*(\d{2})\-0?(\d\d)</pattern> <replace>\1\2\8</replace> <pattern>(NRC Bulletin|I?E? ?Bulletin|NRCB|IEB|IE Bulletin No\.|IE Bulletin Number)s?(\sno\.?\s|-|\s)?\d?\d?(\d{2})-0?(\d\d)</pattern> <replace>\1\2\7</replace> <pattern>(NRC-?)?([Ii]nformation\s[Nn]otice|IN|[Ii]nformation\s[Nn]otice\s?\(IN\)|INFORMATION\sNOTICE)\s?([Nn][Oo]\.?\s|-|\s)?(\d{2,4})-0?(\d\d)\:?</pattern> <replace>\1\2\8</replace> <pattern>(Regulatory Issue Summary|RIS)\s?-?(20)?(\d{2})-0?(\d\d)</pattern> <replace>\1\2\7</replace> <pattern>(Inspection Procedure|IP|Inspection Procedure\s?\(IP\))\D?(\d{3,8}(\.\w{1,3}[A-Z]?)?|92709)(\-d\d)?</pattern> <replace>\1\2\7</replace> <pattern>(Regulatory Guide(\s?\(RG\))?|RG-?|R\.G|Reg Guide|Reg\. Guide)\s?(\d\.\d\d?\d?(\.\d{1,2})?)</pattern> <replace>\1\2\7</replace> <pattern>(JLD|LR|NPR|SFST|RTR|FCSS|HLWRS|DL&C|DC\/COL|NSIR\/DPR|DSS)\-ISG(\-\d{2,4})?\-(\d{1,3})</pattern> <replace>\1\2\6</replace> <pattern>(DOE\/)?(NRC Forms?|NRC FORMS?|Form NRC) (\w{1,4})</pattern> <replace>\1\2\6</replace> <pattern>(GDC|General Design Criterion|General Design Criteria)(\s|-|\(GDC\))*(\d\d?\d?)</pattern> <replace>\1\2\6</replace> <pattern>0?(50|55|72)(\-|00)([1-9]\d{2})</pattern> <replace>\1\2\6</replace> <pattern>(\d\d\d?)\s(FR|Federal register|Fed\.? Reg\.?)\s(\d{4,6})</pattern> <replace>\1\2\6</replace> <pattern>(Temporary Instruction( \(TI\))?|TI|IP) *(\d{3,4})[-\/](\d{2,3})</pattern> <replace>\1\2\7</replace> <pattern>((NRC )?Enforcement Guidance Memorandum \(EGM\)|EGM) (\d{2,4})-(\d{2,3})</pattern> <replace>\1\2\7</replace> <pattern>([Il]R|Issue [Rr]eport|[Ii]ssue [Rr]eport \(IR\))[ \-]*?0?(\d{7})</pattern> <replace>\1\2\5</replace> <pattern>[A-Z]{2}\-(AA|AB|AP|MA|TM)\-\d{1,4}(\-\d{2,4})?(\-\d{2,4})?</pattern> <replace>\1\2\6</replace> <pattern>A\/?R(A|\(AR\)| |\-)*0?(\d{7})</pattern> <replace>\1\2\5</replace> <pattern>A\/?R(A|\(AR\)| |\-)*0?0?(\d{6})</pattern> <replace>\1\2\4</replace> <pattern>(\(?LER\)?\s*(05000)?(\d{3})\/(\d{2,4})\-?(\d{1,3})|(05000)?(\d{3})\/(\d{2,4})\-?(\d{1,3})\s*LER)(\-\d{2})?</pattern> <replace>\1\2\13</replace> <pattern>(IF|Inspection finding|finding|violation|noncited violation|NCV)?(\s|-|\.)*0?5[02]0?0?(\d{3}).(20)?([0123]\d\d{3})\-(\d{1,3})</pattern> <replace>\1\2\9</replace> <pattern>((IR|Inspection Report)(\s|-|:|\.|\(IR\))*)?0?5[02]{1,3}([1-9]\d{2})[\s\-\:\/](20)?([0123]\d)[\s\-\:\/]?(\d{2,3})</pattern> <replace>\1\2\10</replace> <pattern>(EPID(\:| |\-|[Nn][Oo]|s|\.)*)?(L[\-? ]\d{4}[\- ](CPS|DSR|DOT|EPR|FPR|JLD|LLA|LLD|LLE|LLF|LLL|LLM|LLR|LLQ|LNE|LRC|LRL|LRM|LRR|LRO|NFN|PMP|TOP|CRS|OLL|RNW|RWL|GEN|NEW|SLR))[\- ](\d{4})</pattern> <replace>\1\2\8</replace> <pattern>(EPID(\:| |\-|[Nn][Oo]|s|\.)*)?(L[\- ]?\d{4}[\- ](CPS|DSR|DOT|EPR|FPR|JLD|LLA|LLD|LLE|LLF|LLL|LLM|LLR|LLQ|LNE|LRC|LRL|LRM|LRR|LRO|NFN|PMP|TOP|CRS|OLL|RNW|RWL|GEN|NEW|SLR))[\- ](\d{3})</pattern> <replace>\1\2\8</replace> <pattern>(CAC|TAC)(\:| |\-|[Nn][Oo]|[Ss]|\.)*(M[A-Z]\d{4,6}|[DUM]\d{5}|\d{5})</pattern> <replace>\1\2\6</replace> <pattern>(BWRVIP\-\d{1,3})(\-?[A-Z])?</pattern> <replace>\1\2\5</replace> <pattern>ENN?\-[A-Z]{2}\-\d{3}</pattern> <replace>\1\2\3</replace> <pattern>(Appendix\s?[A-Z]|\.\d\d)( ?of ?)?(Inspection Manual Chapter|NRC Manual Chapter|IMC|MC|Inspection Manual Chapter\s?\(IMC\))\s(\d{3,4})</pattern> <replace>\1\2\7</replace> <pattern>(Inspection Manual Chapter|NRC Manual Chapter|IMC|MC|Inspection Manual Chapter\s?\(IMC\))\s*(\d{3,4})(\,?\s?Appendix\s?[A-Z]|\.\d\d)?</pattern> <replace>\1\2\6</replace> <pattern>(ASME Code Cases?|ASME Code|ASME|Code Cases?)[ \-\:]{1,2}(O?M?N\-\d{2,3})(\-\d{1,2})?</pattern> <replace>\1\2\6</replace> <pattern>ISTC\-(\d{4})\([a-z]\)</pattern> <replace>\1\2\4</replace> <pattern>IER \d{2}\-\d{2}</pattern> <replace>\1\2\3</replace> <pattern>(BSEP|RS|RA|JAFP|NLS|NL|BVY|HBL|DCL|ELV|WM|L|COR|CNRO|JLIC|JCHE|JEP|JENG|NREN|JPN|JMD|JPIP|JORG|JSEM|JTS|NRCI|NRC|SRM\-COMSECY|BECO\-LTR|CY|VR\-COMSECY|VR\-SECY|COMSECY|SECY|ENOC|GO2|JIC|JOPS|NGES|RAIO|BYRON|ND|JPTS|L\-HU|NSD-NRC|NTD|STC|WM|WO|PM|LD|TXX)([\- ]\d{2,4})?([\- ]\d{2,6})</pattern> <replace>\1\2\6</replace> <pattern>LBP\-\d{2}\-\d{2}</pattern> <replace>\1\2\3</replace> <pattern>(\d{1,4}) hours?</pattern> <replace>\1\2\4</replace> <pattern>(NPF|DPR)\-0*(\d{1,3})</pattern> <replace>\1\2\5</replace> <pattern>(MRP[\- ]\d{3})(\-A)?</pattern> <replace>\1\2\5</replace> <pattern>TSTF\-\d\d\-\d\d</pattern> <replace>\1\2\3</replace> <pattern>ANS[ILl](\/ANS)?\s?\-?[A-Z]?\-?(\d{1,3})(\.\d{1,3})(\s?\.?\-?\s?\d{1,4})?(\s?\.?\-?\s?\d{1,4})?(\-\d{4})?</pattern> <replace>\1\2\9</replace> <pattern>(selected\s*|assigned\s*|appointed\s*|[Nn]amed\s*)(\w{2,12} ([A-Z]\. |\w{2,12} |\"Mac\" )?\w{3,12}([ \.\,]*Jr[\.\,]*)?)(\s(one of the|it\'?s?|agency\'?s|new|[Ss]enior|NRC|post|as|a|to|the|of| )*[Rr]esident\s[Ii]nspector)</pattern> <replace>\1\3\4\7\9</replace> <pattern>(ML\s?|Accession\sNumber\s?)(\d\w{7,9})</pattern> <replace>\1\2\5</replace> <pattern>(\w{3,12} ([A-Z]\. )?\w{3,12}( Jr\.)?)((\, [A-Z\/]{3,12}\,)\s(has been assigned as your new )Project Manager)</pattern> <replace>\1\3\6\9</replace> <pattern>effective ((January|February|March|April|May|June|July|August|September|October|November|December) \d?\d\, (19|20)?\d\d)</pattern> <replace>\1\2\6</replace> <pattern>ASCE(\/SEI)?[ \-]\d{1,2}(\-\d{1,2})?(\-\d{1,2})?</pattern> <replace>\1\2\6</replace> <pattern>([12]CAN\d{2}\d{4}|ULNRC\-\d{5})</pattern> <replace>\1\2\4</replace> <pattern>PRC\-\d{3}(\-\d{1,3})?</pattern> <replace>\1\2\4</replace> <pattern>EPRI(Report|\-| )*(\d{10})</pattern> <replace>\1\2\5</replace> <pattern>ACAD \d{2}-\d{3}</pattern> <replace>\1\2\3</replace> <pattern>FOIA\/PA\-\d{4}-\d{4}</pattern> <replace>\1\2\3</replace> <pattern>Enterprise Identifier\: (I\-\d{4}\-[\d\w]{3}\-\d{4})</pattern> <replace>\1\2\4</replace> <pattern>NS\-EPR\-\d{4}</pattern> <replace>\1\2\3</replace> <pattern>WCAP\-\d{3,5}\-?N?P?\-?A?</pattern> <replace>\1\2\3</replace> <pattern>(345|600|4\.16|24|115|24|4) ?([Kk]?V)</pattern> <replace>\1\2\5</replace> <pattern>RAS[ \-](\d{3,5})</pattern> <replace>\1\2\4</replace> <pattern>NOC\-AE\-\d{8}</pattern> <replace>\1\2\3</replace> <pattern>(ASME )?(IWB|IWC)\-(\d{2,4})(\-\d{1,3})?</pattern> <replace>\1\2\7</replace> <pattern>OMB[\- ]*(\d{4})\-(\d{4})</pattern> <replace>\1\2\5</replace> <pattern>(PLA|U)-\d{4,6}</pattern> <replace>\1\2\4</replace> <pattern>PMNS(\d{4}\d{4})</pattern> <replace>\1\2\4</replace> <pattern>OI \d\-\d{4}\-\d{3}</pattern> <replace>\1\2\3</replace> <pattern>(ANPP\-\d{5})(\-.*?)?</pattern> <replace>\1\2\5</replace> <pattern>(N\d{1,2}[A-Z]?) nozzles?</pattern> <replace>\1\2\4</replace> <pattern>nozzles? (N\d{1,2}[A-Z]?)</pattern> <replace>\1\2\4</replace> <pattern>(Management Directive|MD)[\- \.](\d\d?\.\d\d?\d?)</pattern> <replace>\1\2\5</replace> <pattern>[Ss]everity [Ll]evel [IV]+</pattern> <replace>\1\2\3</replace> <pattern>(National Fire Protection Associations \(NFPA\)|NFPA)(Report|\-| )*(\d{2,4})(-\d4)?</pattern> <replace>\1\2\7</replace> <pattern>DPO-(\d{4})-0?(\d{3})</pattern> <replace>\1\2\5</replace> <pattern>PNO-[IV]+-\d{2}-\d{3}[A-Z]?</pattern> <replace>\1\2\3</replace> <pattern>OIG-\d{2}-A-\d{2}</pattern> <replace>\1\2\3</replace> <pattern>TP\d{2}\-\d\-\d{3}</pattern> <replace>\1\2\3</replace> <pattern>IAEA Category (\d)( sources?)?</pattern> <replace>\1\2\5</replace> <pattern>EA\-\d\d\-\d\d\d</pattern> <replace>\1\2\3</replace> <pattern>ACI[ \-](\d{3})([ \-]\d{1,3})?</pattern> <replace>\1\2\5</replace> <pattern>(SIL|TIL)(\-| |No\.?)*(\d{1,4}(\-\d\d?)?)</pattern> <replace>\1\2\7</replace> <pattern>(\=*?)([67][0123]\d{3}\.\d{2}[A-Z]?|71153|71152)</pattern> <replace>\1\3\4\5</replace> <pattern>AECM[\- \/](\d{2})[\- \/]0*(\d{2})</pattern> <replace>\1\2\5</replace> <pattern>AECM[\- \/](\d{2})[\- \/]0*(\d{3})</pattern> <replace>\1\2\5</replace> <pattern>AECM[\- \/](\d{2})[\- \/](\d{4})</pattern> <replace>\1\2\5</replace> <pattern>FCC[\- ](\d{2})[\- ](\w{2,5})</pattern> <replace>\1\2\5</replace> <pattern>(BWROG|PWROG)[\- ](\d{5})([\- ]NP)?</pattern> <replace>\1\2\6</replace> <pattern>(ASME)?[ \-](Section ([XIV]{1,5}))</pattern> <replace>\1\2\6</replace> <pattern>NQA\-\d(\-\d{4})</pattern> <replace>\1\2\4</replace> <pattern>RAEL[\)\- ]*(\d{3})</pattern> <replace>\1\2\4</replace> <pattern>ER(\d{3}[L]?|NiCrFe\-\d[A-Z]?|Alloy \d\d\/?\d{2,3}?[A-Z]?)</pattern> <replace>\1\2\4</replace> <pattern>NCR \d{8}</pattern> <replace>\1\2\3</replace> <pattern>(Certificates?[ \-]of[ \-]Compliance|CoC)([Nn][Oo]\.|\.|s|[Nn]umber|[Nn]um|\([Cc][Oo][Cc]\))*(\d{2,4})</pattern> <replace>\1\2\6</replace> <pattern>0?71[0\-](\d{4})</pattern> <replace>\1\2\4</replace> <pattern>USA[\-\/](\d{4})[\-\/](B\([UM]\)F?|AF|S)(\(DOT\))?</pattern> <replace>\1\2\6</replace> <pattern>(Institute of Electrical and Electronics Engineers( \(IEEE\))?|IEEE)[ \-](Standard|Std\.?)[ \-](\d{3})[\- \(]?(\d{4})?\)?</pattern> <replace>\1\2\8</replace> <pattern>[Pp]enetration[ \-\.]*([Nn]umber|[Nn]um|\#)[ \-\.]*([A-Z\d\-]+)</pattern> <replace>\1\2\5</replace> <pattern>Am-241\/Be</pattern> <replace>\1\2\3</replace> <pattern>OMN\-\d\d</pattern> <replace>\1\2\3</replace> <pattern>CO\d{2}\d{4}</pattern> <replace>\1\2\3</replace> <pattern>GL\-\d{5,6}\-\d{2}</pattern> <replace>\1\2\3</replace> <pattern>RIL[ \-]\d{4}\-\d{2}</pattern> <replace>\1\2\3</replace>