I want to get string between two hypeen and show in table as input as : some text - 512ad85e-e968-45cc-8783-30b696217j5a - some text , and result must be 512ad85e-e968-45cc-8783-30b696217j5a . there may be more no of records i just want to filter all distinct records.
what i tried is using regex \\w{8}-?\\w{4}-?\\w{4}-?\\w{4}-?\\w{12}.
Assuming the delimiting hyphens are surrounded by spaces
| rex "\s-\s(?<id>.+)\s\-\s"If you want a specific format of id as you have shown in you example, replace the .+ with your format.
@ITWhisperer Thank you.
Assuming the delimiting hyphens are surrounded by spaces
| rex "\s-\s(?<id>.+)\s\-\s"If you want a specific format of id as you have shown in you example, replace the .+ with your format.