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.
我正在尝试获取编号的单元格的内容并将它们连接在一起(用逗号分隔)并省略数字。例如,单元格 A1 如下所示:1.T,2.G,3.Y,4.S
是否可以将它们加入到不同的单元格中,如下所示:T,G,Y,S
数字将被省略,只留下字母,用逗号分隔。谢谢你。
对于您的示例:
=regexreplace(A1,"\d.",)
\d是所有数字的 Perl 类。RE2 删除后面跟一个点的任何一个。
\d