删除以特定字符开头和结尾的任何子字符串
我的字符串在Google表中看起来像这样:
在A1
中,信息技术#ICT / Computer < / code>
在A2
中,农业#农业 /农业 /农业allied,NGO#NGO#NGO / nongo / non-Profit,项目管理#项目管理
我需要删除以,
开始的所有内容,并以#
结束逗号像这样
B1
ICT / Computer
B2
Agriculture / Agro-Allied, NGO/Non-Profit, Project Management
I have strings that looks like this in google sheets:
In A1
,information-technology#ICT / Computer
In A2
,agriculture#Agriculture / Agro-Allied,ngo#NGO/Non-Profit,project-management#Project Management
I need to remove everything that begins with ,
and ends with #
including these two characters
If possible the output to be separated by a comma like so
B1
ICT / Computer
B2
Agriculture / Agro-Allied, NGO/Non-Profit, Project Management
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试:
try: