As far as Gold....
Once you have used the aqua regia on the gold and the process is complete.
The excess nitric acid must be neutralized with urea to PH 1 +/- 0.4 then drop the gold with SMB.
* SMB - Sodium Meta Bisulfite plus water = 28.3 grams sodium meta bisulfite, 240 ml H20.
William