maandag 27 mei 2024

Regular expressions in Notepad++

In Notepad, you can search and replace text using regular expressions.
The following expression is non-greedy because the ? is used.
It also creates a group that is used in the replace part.
search:   <span class="t[0-9]*">(.+?)</span>
replace: $1