我想创建一个跨多行匹配的正则表达式。此正则表达式应以匹配以Email
开头的行开始,并以匹配以=
开头的行结束,并且它应包括匹配中的所有行。示例:
输入:
scrambled text asdasdad
qwert asd
Email: johndoe@john.com
John is an emplyer
john's number is +146546****
============================
gabrish
匹配:
Email: johndoe@john.com
John is an emplyer
john's number is +146546****
============================