Hope u didnt drop RX into display tank.
If you wanna try something reefsafe, can try seachem FLATWORM EXIT,
it will lead to massive die off of flatworm which release their toxin, so u need to standby large water change and also activated carbon.
but again it doesnt deal with the eggs