I have some regex knowledge from using it JavaScript but now I want to use it in Excel and VBA and I have some problems getting it work.
I want to replace >abc
with <br>> abc
.
In JavaScript I use >([a-zA-Z0-9])
and <br>> $1
, but here I don't know how to do it.
Also I want to use it with Range.Replace
function, like:
oRange.Replace What:=">abc", Replacement:="<br>> abc", MatchCase:=False
Any help will be appreciated.
` or `Chr(10)` ? – Apr 15 '16 at 19:00