正则表达式检查从一个字符串到另一个字符串是否包含搜索字符串

Regex check if from one string to other string contains seaching string

我需要一个在正则表达式选择中搜索字符串的正则表达式。例如我有这个文本

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

我需要检查从字符串 printing 到字符串 book 是否有字符串 galley

(printing.*(galley))(?=.*book)select第二组