-1

I need to extract 'Processed & Soft Cheese1' from the below response:

1.)"departments":["Processed & Soft Cheese1"],

I am trying departments":["(.+?)", but it doesn't work.

Can some one please help to create regex for the same

Wiktor Stribiżew
  • 561,645
  • 34
  • 376
  • 476
zzz
  • 447
  • 2
  • 11
  • 29

1 Answers1

1

I think you need to escape the [ like \[

departments":\["(.+?)"

The fourth bird
  • 127,136
  • 16
  • 45
  • 63