Clothes washer?
Hard to say.
Detergent is a base, that might actually have started to develop the film.
If nothing else, you'll need to wash the residue of the detergent off the film.
I'd also be worried about cracking the emulsion. If you really want to try and save it -- assuming it's B&W or something you can tank process yourself, I'd try the following:
Either:
Spool it onto a reel, and pre-soak it in distilled water, before developing (you might reduce your dev times 20% or so just in case it did start to develop in the soap)
Or, if 35mm, carefully soak the canister in distilled water in a plastic container, then wet load it onto a stainless reel, and develop as normal.
I'd use a one-shot developer so you can toss it after this, so as not to risk contaminating your developer, although the pre-rinse should help.