My Strinput value is "ab’c""d" - Since you have double quotes in the string values, you have to add it twice to include it…Same logic to be applied while replacing also.
Since I have used it twice, In the immediate panel it will show as \" , meaning I have escaped it…
May I ask, why you didn’t mentioned this in your query? “My string is having both double and single quotes and I want to replace both the quotes with space or anything else” - This is your original requirement.