I have to find and replace a load of HTML which has a similar layout to this (I've left the formatting to demonstrate how it actually looks inline):
<div
class="text-dark font-weight-normal mb-0 mt-0 item-card2-desc">
<a href="javascript:void(0)"><i class="fa fa-map-signs"></i> Get
Directions</a>
</div>
I need to find and replace Get Directions with another string, let's say "Hello World" in VS Code. I've used RegExr to build this and validate it against the above but whilst it works on RegExr, VS Code finds no matches:
(Get)\s+(Directions)
Is there a VS Code format I've not applied?