我想首先選擇“成為 Fastaff? Travel Nursing 員工的好處”,然后選擇“Fastaff? Travel Nursing:”正則運算式中的最后一個文本,并希望選擇這兩個文本中的所有文本。我嘗試了一些正則運算式,但由于每行末尾的回車鍵都會產生問題。
Benefits of Being a Fastaff? Travel Nursing Employee
Premium pay
Prestigious facilities
Flexible scheduling
Immediate access to the industry’s best RN recruiters and healthcare facilities
Fastaff will provide costs for housing during the length of your assignment, as well as airfare or mileage to and from the city of the assignment at the start and end of the assignment.
Group health insurance benefits
$10,000 Company-paid Life/ADD Insurance
Matching 401(k)
About Fastaff? Travel Nursing:
uj5u.com熱心網友回復:
這 '。' 將不匹配換行符,這就是它不起作用的原因。
嘗試這個:
/Benefits of Being a Fastaff? Travel Nursing Employee([\w\W] )About Fastaff? Travel Nursing:/gm
[\w\W ] match every word and non word character.
So white space chars are matched too.
如果您只想捕捉兩個短語之間的內容,則可以像在運算式中使用的那樣使用環視。
轉載請註明出處,本文鏈接:https://www.uj5u.com/qukuanlian/427078.html
標籤:正则表达式
