I'am currently developing a program and i want to write a function which is accept a value in following format
"AAAA BBBB" CCCC DDDD EEEE "FFFF GGGG HHHH"
I want to replace the spaces in above with "_" and need a output as showed following format (please note that this should happen only for string which is inside double quotes)
"AAAA_BBBB" CCCC DDDD EEEE "FFFF_GGGG_HHHH"
can anybody help me with this