Sort by

recency

|

294 Discussions

|

  • + 0 comments

    Here is HackerRank Re.split() in Python solution - https://programmingoneonone.com/hackerrank-re-split-problem-solution-in-python.html

  • + 0 comments

    *regexpattern = r"[,.]" *

  • + 0 comments

    My solution was regex_pattern = r"[^0-9]"

  • + 0 comments
    1. regex_pattern = r"[,.]"
  • + 0 comments

    regex_pattern = r"[,.]" # Do not delete 'r'.

    import re print("\n".join(re.split(regex_pattern, input())))