There have a lot of similar questions on SO. But here is another mental exercise I could not figure out.
Here is the search text:
<span ng-show="vm.formName.fieldName.$error.required">*</span>
Need to replace with just
*
or
<span>*</span>
Obviously we want to replace ng-show="vm.formName.fieldName.$error.required"
with an empty string. I thought some *
should be used as wildcard for the ng-show
attribute. But how?
Is it possible to use wildcard *
to take the place of a string that include quotation marks? And how can we avoid the *
character in the text from being replaced?