I am fetching some data from API and it is returning me results like " how can I convert it to normal form ' " '
const results = [
{ question: ' movie "The Revenant"?' },
{ question: ' game "Roblox" released?' },
{ question: '"A rainy Lithuanian / Is dancing as an Indian"' },
];
export default function App() {
return (
<View style={styles.container}>
{results.map((q) => (
<Text> {q.question} </Text>
))}
</View>
);
}
this is what I am getting

one way you can use replace in client side like that :
.replace(/"/g, '"')or other way you can save quot in database and send from backend side like format:
question: ' movie '''The Revenant'''?' I hope that's Helpful
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With