For example, when it is needed to match the string "Tarzan" (without the quotes), in "Tarzan and Jane", and "Jane and Tarzan", but not in "Tarzan" (with the quotes). The wanted string is in Group 1.