Parsing RegEx

Hello,
Sadly, like many others I’m unfamiliar with RegEx, been trying for hours but no luck.
I have the following payload:

"@type":"Output","@id":"_:4149","id":128058,"type":"none","

Problem is that I need to parse “id”: but occurrence is recursive using LR won’t work because @id is dynamic, so only solution is to use RegEx, but have no idea of the pattern and what to put in Output Format.

Any help would be appreciated, thanks.

You can use this site to make your regular expressions.

I know that website, but find it very confusing to use.

send me pm to help you

1 Like

Use this regex

Pattern = "@type":".*?","@id":".*?","id":(.*?)(?=,"type":"none",") Output Format = [1]

1 Like

Solved, thanks everybody !

1 Like

No worries… ask in the forum if you want any further help :grinning: :+1:

1 Like