After converting the document from pdf using https://pdf2md.morethan.io/ and copying the normative text the following were very helpful.
Removing broken paragraph additional line spacing from PDF conversion
^([^#\n][^\n]*)\n([^#\n\(\[])
$1 $2
Removing spurious additional line spacing from PDF conversion
^(\d[^\n]*)\n+\n([^\d#(])
$1$2
Reducing the level of all headings by 1
^#
Remove numbering from top-level section headings
^#\s+[\d.]+\s+([^(]+).*$
# $1
Apply third level headings with md syntax
^\*\*([^*]+)\*\*$
### $1
Apply fourth level headings with md syntax
^\*([^*][^*]+[^*])\*$
#### $1
Convert footnotes to md format
\[(\d+)\]
[^$1]