Don't know if there is a specific tool for this, but using your eyes should be sufficient to match similar sequence logos.
For example, Bach has a unique sequence from all others. Fra1 and Fra2 have similar sequence to Fos. Atf3 is similar to JunB, FosL2 and Jun-AP1. Not shown in your screenshot (but possibly present in the total output) are Maf proteins, as they also bind to an extended AP-1 site, either as homo-dimers, or hetero-dimers with various partners (often Bach). AP-1 is a subset of all of the other sites listed, so my general conclusion would be that you have an AP-1 site.
Chances are that all the listed proteins bind to this site either as homo- or hetero-dimers, but experiments would be needed to figure out which combination is physiologically relevant.
Can you give an example of how the output should look like?
I would like to group all the Motifs with a
TGAC(G)TCAcore pattern together and name it
AP-1family. Is there a tool for this purpose? Thanks