Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

User Image
Milind Rao
3 discussion posts
I'm trying to find a match using regular expression across two lines in a JSON file. The snippet of the json file is below

Code

"eventData" : {
    "header" : {
      "correlationId" : "d1ae2af3-1b2d-41dc-afe7-1f61c5e3a2d8",
      "memberNumber" : {
        "string" : "636FP25979"
      },


I'm trying to find the substring FP in the member number.
The pattern
(?<="memberNumber" : {\n        "string" : "[0-9]{3})[A-Z]{2}
works in Regex101
https://regex101.com/r/0eCAes/1

But it doesn't work in FileSeek. Can someone help me with a multi-line pattern?
I did try changing the \n to \r\n since I am on Windows. It didn't help.
15 days ago (modified 15 days ago)  • #1
User Image
Milind Rao
3 discussion posts
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)