Split a string based on multiple delimiters

前端 未结 6 2127
情深已故
情深已故 2020-11-29 06:12

I was trying to split a string based on multiple delimiters by referring How split a string in jquery with multiple strings as separator

Since multiple delimiters I

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-29 06:44

    I think you would need to escape the +, * and ?, since they've got special meaning in most regex languages

提交回复
热议问题