cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Service Naming using Regex

bill_scheuernst
Organizer

I am stumped!  I am trying to setup a service naming rule using the Detected Service Name.  In this case, I would only like the bolded text - (/mothership).  How do I extract only this word using Regex?

 

I have tried -

  • ^[a-zA-Z0-9]*+
  • \/(?>.+)

For these attempts, I get close, but still have varying results.  I want to remove the slash and the () and only have the word. 

 

What I really want is this...

 

Detected Service Name - "Default Web Site:80 (/mothership)" >>>>> "mothership"

 

{Service:DetectedName]

Web Request Service; .NET

Detected service name contains regex

 

 

1 REPLY 1

ChadTurner
Leader

While this is very primitive, you could try (..........).$ but then again that would be static on the number of characters 

-Chad