I am trying to matching and characters from html. There are three types of ands:
and, &, &
I'm using the following code:
(&|&|\band\b)
The problem with above code is: it also matches words which start with &
i.e. © €
I've also tried the following, but it does not match & character from the start and end of line in the text.
(\s&\s|&|\band\b)