Help with delimited text parsing in pattern?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2021 08:50 AM
Hello - I am trying to parse below plain text output to various temp variables but I couldn't do it. Can someone please validate and give me the right direction?
I am trying to store variables after '=' in temp variables
Thanks!
- Labels:
-
Service Mapping

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2021 08:59 AM
You can use regex instead

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2021 09:02 AM
Thanks for the response. How exactly it can be done for more than one variable?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2021 09:37 AM
try using '=' as your delimiter and above in the include lines add name and version.. that should get you the two you are looking for

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2021 09:42 AM
Thanks for the reply Doug. If I do that all left side variables are being assigned to Name and right side are being assigned to version not just those specific values. But I think I can still access them by $posgres_instance[1].Name correct?