# How to highlight something, if it exists, but show error anyway, if it doesn't exist

**URL:** <https://forum.xbench.net/t/how-to-highlight-something-if-it-exists-but-show-error-anyway-if-it-doesnt-exist/565>\
**Category:** Technical Support\
**Created:** [January 23, 2020, 5:52pm UTC](https://forum.xbench.net/t/how-to-highlight-something-if-it-exists-but-show-error-anyway-if-it-doesnt-exist/565 "2020-01-23T17:52:17Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![omartin](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.xbench.net/omartin/32/82_2.png) [@omartin](https://forum.xbench.net/u/omartin)\
**Post date:** [January 24, 2020, 12:38pm UTC](https://forum.xbench.net/t/how-to-highlight-something-if-it-exists-but-show-error-anyway-if-it-doesnt-exist/565/4 "2020-01-24T12:38:23Z")

</div>

I think it is necessary to create two checklist entries.

1st entry:

Source: `^. -ABC`  
Target: `ABC`  
Search mode: Regular Expressions  
PowerSearch: On.

This entry will find all segments that contain ABC in target but is missing in source and highlight ABC in target and the 1st character in source.

2nd entry:

Source: `ABC`  
Target: `ABC`  
Search mode: Simple  
PowerSearch: On.

This entry will find all segments that contain ABC in source and target. It will also highlight only ABC in source and target.

Regards,  
Oscar.

---

_[View the full topic](https://forum.xbench.net/t/how-to-highlight-something-if-it-exists-but-show-error-anyway-if-it-doesnt-exist/565)._
