I have a varchar(max) column with HTML present and I need to replace a single character where it is between a line break - <br></br> eg: <br>8</br>. The problem is, that character is entirely random so I need the equivalent of a wildcard replace of <br>%</br>. I only need it to happen if it is a single character, not if it is multiple characters.
So if its <br>#</br> i want to change it to <br></br>
Any ideas how to achieve this? Function / View / Stored procedure any method will do.
Thanks