【发布时间】:2020-03-24 06:45:50
【问题描述】:
我正在尝试使用 regex replace 将“\”替换为 \,但没有得到正确的解决方案。想要删除即将出现的双引号。你能帮我怎么做吗?
例子:
"\""warfarin was discontinued 3 days ago and xarelto was started when the INR was 2.7, and now the INR is 5.8, should Xarelto be continued or stopped?"
结果:
\"warfarin was discontinued 3 days ago and xarelto was started when the INR was 2.7, and now the INR is 5.8, should Xarelto be continued or stopped?"
【问题讨论】:
-
您的问题已经解决了吗?
标签: regex dataframe pyspark regular-language