you may do a regexp search, such as \b(id|class)="[^"]*" then *Copy all occurrences* and do *Edit > Sort* with [i][X] Remove duplicates[/i] to get a quick glance.
More universal regexp would be something like \b(id|class)=(['"])?[^"]*\2?\b -- <http://forum.pspad.com/read.php?2,56477,56478> PSPad freeware editor http://www.pspad.com
