Write a SMARTS that matches every alcohol below and none of the others. An ether oxygen carries no hydrogen, and the oxygen of an acid is not an alcohol either.
Convert between chemical structures and SMILES in both directions, search a list of structures by substructure or SMARTS, and learn the notation step by step. Everything runs in your browser — no structure you open ever leaves your machine — so the tool needs JavaScript.