【发布时间】:2022-08-18 23:40:37
【问题描述】:
我有以下字符串:
FIn 2021 did you contribute any money to the plan with USPS for example through payroll deductionsF ZsZ LExclude rollovers or cashouts from other retirement accounts or pension plans as new contributionsL
我想从两个 \"F\" 之间的这个字符串中提取问题,得到一个干净的结果,例如:
In 2021 did you contribute any money to the plan with USPS for example through payroll deductions
我尝试了多种正则表达式,包括:
(?<=/)[^/\'f\']+(?=_[^\'f\']*$)
这没有产生我想要的回应。
非常感谢您提前提供的任何提示!
标签: regex