I am using the NCM Policy Reporter to look for lack of bpduguard except when the description contains Uplink or the interface is not configured. I mostly have figured this out using Config blocks however I can't determine a way to identify instances when there is nothing configured (tried .^ for example.) Sample interfaces:
interface GigabitEthernet2/1/1
!
interface GigabitEthernet2/1/2
!
I am using interface GigabitEthernet.* and ! to identify the start and end of the block respectively. Any suggestions would be appreciated. Thanks all.