Is it possible to get a piece of info in a line from a big text file with perl?

Have a big text file (>2gb) with some lines like below:

...
{"ABC DEF","KEY_WORD":"This is a test.","xyz",{.....}}
{"sdf" "ccd",{.....}}
{"AAA BBB", "CCC","KEY_WORD":"This is also a test.","asas sded sed",{.....}}
....

Each line can be up to 4000 characters long and assume there is no more than one "KEY_WORD" in each line.
Want to get the following text from each line with "KEY_WORD".
...
"This is a test."
"This is also a test."
...

Is it possible with perl?
jl66ConsultantAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ozoCommented:
perl -lne "print $1 if /\42KEY_WORD\42:(\42.*?\42)/" bigtextfile

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jl66ConsultantAuthor Commented:
If you can explain \42 a bit, I will more greatly appreciate it...
jmcgOwnerCommented:
Ozo's assuming you're still on Windows, so the double quotes inside the double quotes are translated into the hex representation of the character.
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

jl66ConsultantAuthor Commented:
The ozo's answer is superb!
It seems jmcg's explanation is a bit hard to understand. x42 is 'B' in character, but x22 is ". It is hard to see any relation between " and 'B' playing with the perl one liner.
ozoCommented:
"\42" is octal, "\x22" is hex
jmcgOwnerCommented:
I obviously am not sufficiently awake to be commenting!
jl66ConsultantAuthor Commented:
Superb! Appreciated ozo's gifted programming skill.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Perl

From novice to tech pro — start learning today.