My input file looks like below:
“true true, rohith Rohith; cold burn, and fact and fact good good?”
Output shoud look like:
This is not exactly what you have shown in output but is close using gnu-awk:
gnu-awk
awk -v RS='[^-_[:alnum:]]+' '$1 == p{printf "%s", RT; next} {p=$1; ORS=RT} 1' file
“true , rohith Rohith; cold burn, and fact and fact good ?”