I have OCD and I came into contact with e-coli through the use of a bathroom which unknown to me had no soap. Having ocd, you can imagine my reaction. How long does it live on clothes? I need it gone.

E coli. The survival of bacteria like e coli depends on the environment it's in or on. At normal temperature ; humidity, it may live for a few hours to a day. http://tinyurl.com/5xbxkr you need to wash clothes in high temperatures (150-170 degrees), possibly with bleach. If bleach isn't possible, then dry clothes in the sun -- the uv light can kill bacteria. http://tinyurl.com/2vn8eqg.
No chance. Stop worrying. The risk is almost zero. If you did come in contact with the bacteria the chances of infection are virtually zero.