如何提取一个特定的string

我想提取"eirnan"加上其他数字后面的。 我找不到任何匹配的解决scheme..

 Please indicate/ the correct salesman id (Should be _Eirnan413431 _) Please indicateEirnan3659 / the correct salesman id (Should be __) Please indicate / Eirnan84215; the correct salesman id (Should be __) Eirnan421/Please indicate / the correct salesman id (Should be __) Please indicate/ the correct salesman id Eirnan4752151 /(Should be __) 

请帮忙

即时通讯使用EXCEL 2010

你可以在B1中试试这个公式并抄下来吗?

 =MID(A1,FIND("Eirnan",A1,1),MAX(INDEX(ISNUMBER(--MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1))*ROW(INDIRECT("1:"&LEN(A1))),0))-FIND("Eirnan",A1,1)+1) 

在这里输入图像说明

Right click图像并open in new tab以全尺寸查看。

基于MrExcel上的MVP Ron Coderre的代码。