How to remove the special characters in a string in python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to remove the special characters in a string in python?

15th Apr 2020, 4:10 PM
Ramya Thiurmalisamy
Ramya Thiurmalisamy - avatar
4 Answers
+ 1
Can we please see your try? So that we know you tried to solve your question.
15th Apr 2020, 4:51 PM
Jianmin Chen
Jianmin Chen - avatar
+ 1
Jianmin Chen Actually I wish to solve Symbols code coach in sololearn.Still now I haven't any idea to remove the special characters in string in python.Bcoz I am in the beginner level. Tq
15th Apr 2020, 5:17 PM
Ramya Thiurmalisamy
Ramya Thiurmalisamy - avatar
+ 1
Ramya Thiurmalisamy, that's okay! I wasn't aware. I used the regex module to solve the problem, actually.
15th Apr 2020, 7:28 PM
Jianmin Chen
Jianmin Chen - avatar