i try to find and replace everything between:
<div id="foot"> and <div id="foot_space">
following regular expressions I’ve already tested:
<div id="foot">(.*?)<div id="foot_space">
#<div id="foot">(.*?)<div id="foot_space">#
The Code looks like:
<div id="foot">
Lorem Ipsum <span>Highlight</span>
</div>
<div id="foot_space"></div>
The remote and file search do not find any matches 🙁
The
.probably does not match\rand\n. Try this:or this:
The
(?s)enables DOT-ALL, and[\s\S]matches any character. So[\s\S]and(?s).is the same in many regex implementations.I’d also replace the literal spaces with a
\s+if I were you.