AnsweredAssumed Answered

Regex Question: Partial System name extraction

Question asked by Jeremy Begley on Jan 11, 2016
Latest reply on Jan 25, 2016 by Jeff Leggett

I am attempting to set up some dynamic tags using "asset name contains." The problem I am having is extracting 2 letters from the middle of the system name.

 

ftaprt005.company.com

 

first 3 would be airport code

next letter would signify environment type

next 2 would be system function

 

I need to ignore the first 4 letters and last 3 numbers and only extract "rt." If I am not careful I can end up tagging assets that dont belong...for instance:

 

ortezs-android.company.com

Outcomes