ArticleReplace/test.py

5 lines
111 B
Python
Raw Normal View History

2025-10-25 16:45:02 +08:00
text = "```markdown你好的"
if "```markdown" in text:
text = text.replace("```markdown", "")
print(text)