从列中提取模式 [英] Extract pattern from column

查看:61
本文介绍了从列中提取模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为一个巨大的Excel工作表(具有200K行)而苦苦挣扎,在这里我需要从特定列(B)中提取字符串中存在的所有电子邮件地址的列表.

I am struggling with a huge Excel sheet (with 200K rows), where I need to extract from a certain column (B) list of all email addresses present in the string.

我想要实现的目标:

  1. 从字符串中提取电子邮件
  2. (at)转换为 @ ,并将(dot)转换为.
  3. 将姓名和电子邮件保存在单独的列中

B列示例:

Shubhomoy Biswas <biswas_shubhomoy777(at)yahoo(dot)com>
Puneet Arora <ar.puneetarora(at)gmail(dot)com>
Anand Upadhyay <001.anand(at)gmail(dot)com>
Rajat Gupta <rajatgupta0889(at)gmail(dot)com>
Sarvesh Sonawane <sarvesh.s(at)suruninfocoresystems.

尽管我希望能够在Excel上执行此操作,但任何其他基于Windows的实用程序建议也会有所帮助.

Although I want to be able to do it on Excel any other Windows-based utility suggestion would be helpful.

推荐答案

这可以假设它们都采用相同的格式,并且每个单元格仅添加一封电子邮件

this can be done assuming they are all in the same format and only 1 email add per cell

= SUBSTITUTE(SUBSTITUTE(MID(B1,FIND(<",B1)+ 1,LEN(B1)-FIND(<",B1)-1),(at)","@),"(点),".)

=SUBSTITUTE(SUBSTITUTE(MID(B1,FIND("<",B1)+1,LEN(B1)-FIND("<",B1)-1),"(at)","@"),"(dot)",".")

这篇关于从列中提取模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆