Regular Expressions 101

Community Patterns

Match Windows filename in any path but only C: D: and F: drives


Regular Expression
Java 8



Used for Service Discovery in vRealize Operations. Use case is a service that can be installed on any path, but we only want to discover and monitor services installed on standard production drives (C, D or F). Filename will always be the same.

Submitted by Various - 3 years ago