Hi, I wonder whether someone could help me please.
I'm trying to put together a rex to extract the First Name from the data below.
{"matchingDataset":{"surnames":[{"value":"Smith","verified":true}],"gender":{"value":"MALE","verified":true},"dateOfBirth":{"value":"1973-12-26","verified":true},"firstName":{"value":"John","verified":true},"addresses":[{"verified":true,"postCode":"AB1 1BC","lines":["1 A Street","A Town","GB"]}],"middleNames":{"value":"john","verified":true}},"hashedPid":"123","matchId":"_123","levelOfAssurance":"LEVEL_2"}
From guidance I received from a post I made here I've been trying to come up with a suitable solution as shown below.
"\"firstName\":\"{\"\"value\":\"(?<idaFName>[^\"]+)"
Unfortunately, although I'm not receiving any error message, I'm not able to extract the information I need.
I've tried using Regex101 yesterday afternoon and this morning without success, but I admit I am a complete novice when it comes to regex.
I just wondered whether someone could look at this please and let me know where I've gone wrong.
Many thanks and kind regards
Chris
... View more