标签: regex
我想从下面的列表中以正则表达式获得一本书的作者。
Title: Jackalope Springs Eternal Authors: Shannon Watters, Noelle Stevenson, Brooklyn Allen Genre: Fantasy
所以我只想获得Authors:下的名称,这些名称是:Shannon Watters, Noelle Stevenson, Brooklyn Allen。
Authors:
Shannon Watters, Noelle Stevenson, Brooklyn Allen
感谢您的帮助。
答案 0 :(得分:1)
此简单模式可以完成此任务:
Authors:\n(.*)
Online demo