Changed color for a first matched element
Trim check target string