-3

I have the following sentence:

distributed over a considerable extent; "far-flung trading operations"; "the West's far-flung mountain ranges"; "widespread nuclear fallout"

What I want is to pickup the sentence between "**********";

My regular expression is \"(.+)", but the result is not what I want(only 1 match)

enter image description here

Any suggestion? Thanks

Bagusflyer
  • 12,675
  • 21
  • 96
  • 179
  • This question has been asked before several times. make a search on your favorite search engine, or in SO questions, you will find the answer. However, reading a regex tutorial is the best way to solve your problem. – Casimir et Hippolyte Aug 28 '14 at 01:11
  • Please be sure to read our [Help] about our voting system. – Andrew Barber Aug 28 '14 at 05:37

1 Answers1

1

May this will work.

 /\"(.+?)\"/g

I'm not sure that you need to escape quotes so this maybe just fine too.

 /"(.+?)"/g
roydukkey
  • 3,149
  • 2
  • 27
  • 43