diff --git a/Solutions/namantw/Task 2/regex.py b/Solutions/namantw/Task 2/regex.py new file mode 100644 index 0000000..d09c5fc --- /dev/null +++ b/Solutions/namantw/Task 2/regex.py @@ -0,0 +1,5 @@ +#python 2.7 +import re + +date = raw_input() +print "" + re.sub(r'(\d{1,2})-(\d{1,2})-(\d{4})', '\\2/\\1/\\3', date) \ No newline at end of file