Needed to replace
where text between <p> and : were undetermined. The following RegEx find/replace in Notepad++ does the job:
$1 is the ‘Backreference’ to (.+)
This regular expression matches the html italic begin and end tags as well as any text between them:
This regular expression will replace the found italic tags with beginning and end span tags of class ‘caseName’:
The 1 represents the first group in the find expression (between the parenthesis), thus preserving the text between the tags. This may be unique to the regex in Notepad++. Other regex tools may use $1 instead.