我正在尝试编写正则表达式以预测用户名:并匹配后面的单词直到行尾:
正则表达式是:
^(?=User name:)\s*\[A-Za-z]+
文字是:
Action: NEW
User name: Matthew Thomas
Job title: Dealer Account Manager
Direct report: Craig Carlson
Department: Dealer Account Management
Location: Milton, QLD
Employment type: Permanent Full Time
Start date: 15/07/2013
Finish date:
__________________________________________
Decision Point 3
--------------
Read Only
1
那么你的问题是什么?
—
music2myear