Regex pattern to count lines in poems with randomly \n or \n\n as line breaks

前端 未结 0 850
小鲜肉
小鲜肉 2020-12-15 18:12

I need to count the lines of 221 poems and tried counting the line breaks \\n.

However, some lines have double line breaks \\n\\n to make a new verse. These I only wa

相关标签:
回答
  • 消灭零回复
提交回复
热议问题