Bromine content measurement and extraction