Cool, thanks. I wrote a Python code that works with Regular expressions to achieve it as well.
import re
string = "Sample【25†source】"
regex_pattern = r"【.*?】"
cleaned_string = re.sub(regex_pattern, '', string)
# Result is "Sample"
Cool, thanks. I wrote a Python code that works with Regular expressions to achieve it as well.
import re
string = "Sample【25†source】"
regex_pattern = r"【.*?】"
cleaned_string = re.sub(regex_pattern, '', string)
# Result is "Sample"