Test, validate and match regular expressions
This regex matches citations to the United States Code (U.S.C.) and Code of Federal Regulations (C.F.R.), including the section symbol and optional subsections, paragraphs, and subparagraphs. It captures title numbers, law sources, and section details, with optional trailing semicolons. Use it to parse legal documents, extract statutory references, and identify regulatory citations in text.