How to extract substring in parentheses using Regex pattern

前端 未结 6 564
孤城傲影
孤城傲影 2020-12-09 11:36

This is probably a simple problem, but unfortunately I wasn\'t able to get the results I wanted...

Say, I have the following line:

\"Wouldn\'t It B         


        
6条回答
  •  长情又很酷
    2020-12-09 12:06

    I think you need a better data file ;) You might want to consider pre-processing the file to a temp file for modification, so that outliers that don't fit your pattern are modified to where they'll meet your pattern. It's a bit time consuming to do, but it is always difficult when a data file lacks consistency.

提交回复
热议问题