Regular Expressions 101

identify service accounts

Open Workspace
  • Python
  • Match
0

Regular Expression

r"
(((s)|(svc))((-)|(_)).+)|((.+)((-)|(_))(svc))|(((.+)(svc))|((svc)(.+)))
"
gi

Description

identify service accounts by common nomenclature types

Submitted by Goran Biljetina