<div dir="ltr"><div>They are references to groups in the regex match. The groups are in parenthesis. Whatever is matched by group 1 and 3 will be included in the substitution.</div><div><br></div><div><a href="https://regexr.com/">https://regexr.com/</a> and <a href="https://regex101.com/">https://regex101.com/</a> are both good sites for building and explaining regexes.<br></div></div>