Piece or String function using Matches [A-Z]
I am trying to match on config items that have the same Vendor name in them for custom alerting.
Example:
FromVendornameSiteADT
ToVendornameORM
Where Vendorname could be several systems that have multiple interfaces.
How can I find all config items (interface names) with the same Vendor name, without explicitly naming them?
I was trying to use $Piece to segment out the CamelCase pieces (as the name I want is always the 2nd Capitalized section), but could not find a way to integrate match regex logic (e.g. [A-Z]) inside $Piece or other String extract functions.