If you want to select “Whatever” (word or character), regardless of its length, you can simply use
(.*?)
For example if you want delete all the words between <span> and </span>, as in the following row
many words <span>many other words here</span> other words
you can use
delete <span>(.*?)</span>
.
The result will be:
many words other words