i line like:
"advertising"=>,"arts"=>,"architecture"=>
i generate line like:
"advertising"=>"advertising","arts"=>"arts","architecture"=>"architecture"
how can find , replace using reg exp?
you can capture content of double-quotes, , use $1
backreference replacement:
- search:
("[^"]*")=>
- replace:
$1=>$1
Comments
Post a Comment