s = ' coop regex python easy to learn,come on ' s.strip() re_blank = re.compile(r'\s+') # 匹配任意空吧字符,相当于[\t\n\r\f\v] ...
確定! 回上一頁