社区所有版块导航
Python
python开源   Django   Python   DjangoApp   pycharm  
DATA
docker   Elasticsearch  
aigc
aigc   chatgpt  
WEB开发
linux   MongoDB   Redis   DATABASE   NGINX   其他Web框架   web工具   zookeeper   tornado   NoSql   Bootstrap   js   peewee   Git   bottle   IE   MQ   Jquery  
机器学习
机器学习算法  
Python88.com
反馈   公告   社区推广  
产品
短视频  
印度
印度  
私信  •  关注

Owais Ch

Owais Ch 最近创建的主题
Owais Ch 最近回复了
5 年前
回复了 Owais Ch 创建的主题 » Python正则表达式提取电子邮件信息

主题行后面有更多空格,或者您的案例可能有分隔符。你可以尝试用两个或更多的空格来匹配这个案例。例如

regexEquation = "(---.*?)Subject:[^\n]*(\s)+"

您可以从中获得有关匹配更多空间的帮助 here 或 here .

**Output**: As requested by John, here's the map and the forecast...
Call me if you have any questions (403) 974-6756.