I have a list of Subscriptions from Azure with a pattern similar to:
s00188dsubprodbiprod-XXXXXXXXXXXXXXX
and I am trying to use Regex to get just the Subscription name (s00188dsubprodbiprod). I am unable to match any part of the Name but I am able to match the entire SubscriptionID. I have used an online regex tool so I know my regex is correct. Can somebody please help???