summaryrefslogtreecommitdiff
path: root/progs/a126.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a126.py')
-rw-r--r--progs/a126.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/progs/a126.py b/progs/a126.py
new file mode 100644
index 0000000..f344bda
--- /dev/null
+++ b/progs/a126.py
@@ -0,0 +1,4 @@
+import re
+def remove_char(S):
+ result = re.sub('[\W_]+', '', S)
+ return result \ No newline at end of file