Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Alteryx,我真的很难编写正则表达式。
我的数据样本:
/abc/04. bcc/cc /ab bn/uat/ab /abnm ag/adgr gada/rfd/dfd/cv
我需要两个正则表达式句子来获取第一个中的字符串部分 // 和第二个中的另一个 // 在两个单独的列中。
期望的结果:
第一栏:
abc ab bn abnm
第二栏:
04. bcc uat adgr gada
您可以为此使用“文本到列”工具:
用作/分隔符并删除之后不需要的列。
/