We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Python
- Regex and Parsing
- Re.split()
- Discussions
Re.split()
Re.split()
+ 0 comments regex_pattern = r"[,.]"
+ 0 comments regex_pattern = r"\D" # Do not delete 'r'.
+ 0 comments regex_pattern = r"[,|.]"
+ 0 comments regex_pattern = r",|." # Do not delete 'r'.
import re print("\n".join(re.split(regex_pattern, input())))
+ 0 comments regex_pattern = r"[,.]"
Load more conversations
Sort 269 Discussions, By:
Please Login in order to post a comment