Hi all,
I have this line in the event log
ComputerName=sgp1ply1fe01.xxx
I want to extract only "sgp1" using rex, How can this be done?
Thanks
Hello,
You could use a regex code like this
(?P<-extraction_name_>.*)ply
Hello,
You could use a regex code like this
(?P<-extraction_name_>.*)ply
it works. Thank you!
Is there a pattern to the rest of the word? Using ‘rex’ command should probably fit your need
yes the pattern is (name)plyxxx or (name)PLYxxx