The comma is SMARTS’ "or". Match every molecule carrying a fluorine, a chlorine, a bromine or an iodine, in one pattern.
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.