As I need to remove particular values from the string and I have different use case:
1.The value is in either single quotes or double quotes.
2.need to two or more values, if it is present in the string.
eg
- I need to remove https://sample.com from the file with the quotation mark , it might be single quotes or double quotes.
- In a particular string I need to check for the gxs:, oagis:, xsi: if any of the values are present remove those values.