The following tools allow you to draw a structural formula and search for known compounds with similar structures:
Search Chemical Abstracts. Also access CAS Registry of 20M+ substances and Medline.
You must register for SciFinder before you can use it.
The following databases provide structural formula: