Revision 0b5ad70e-f94f-41f2-8486-b2349fda3c09 - Code Golf Stack Exchange

## [Retina], 25 bytes

 +`^.*(.).*¶(.*1円)
 2ドル
 ^.+$

[Try it online!]

That's a fairly disappointing score, but I'm having trouble coming up with something better. The idea is that we repeatedly remove the first number if it shares a digit with the second number. At the end we check that there is only one number left.

[Retina]: https://github.com/m-ender/retina
[Try it online!]: https://tio.run/nexus/retina#NY3bCcMwDEX/NUcKjnMxlmz5MUd/Q8iUGaCLubJLkZDEOXD1cu8b47iv4F3Yg/88LviTd9qErnBsYzBWzf4tYoEkpIys0ELFpt1GjE@bIB0dam3KYOQKoWgma6mtg82biiuJGIKEDF1//vFGlHpDq6hlPZ78Cw "Retina – TIO Nexus"

AltStyle によって変換されたページ (->オリジナル) /