# Regex where ) is in the source but it's missing in the target

**URL:** <https://forum.xbench.net/t/regex-where-is-in-the-source-but-its-missing-in-the-target/1312>\
**Category:** Technical Support\
**Created:** [August 5, 2025, 12:22pm UTC](https://forum.xbench.net/t/regex-where-is-in-the-source-but-its-missing-in-the-target/1312 "2025-08-05T12:22:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wildina7](https://avatars.discourse-cdn.com/v4/letter/w/5fc32e/32.png) [@wildina7](https://forum.xbench.net/u/wildina7)\
**Post date:** [August 5, 2025, 12:22pm UTC](https://forum.xbench.net/t/regex-where-is-in-the-source-but-its-missing-in-the-target/1312/1 "2025-08-05T12:22:10Z")

</div>

Hi guys, I need a check to look for strings where ) is present in the source, but it’s missing in the target. I’ve tried the below:

1-

Source: )

Target: -)

Search mode: simple

Normal search

Result: Doesn’t work. It literally looks for ) preceded by a -

2-

Source: \)

Target: -\)

Search Mode: Regular expressions

With normal search I get the error “Error in target: Invalid char” and with Power search i get the error “Error in source: incomplete expression).

Please help. Thanks in advance

---

<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:** [August 5, 2025, 12:53pm UTC](https://forum.xbench.net/t/regex-where-is-in-the-source-but-its-missing-in-the-target/1312/2 "2025-08-05T12:53:18Z")

</div>

Try the following search:

Source: `")"`  
Target: `-")"`  
PowerSearch: on  
Search mode: simple

---

<div class="post-metadata">

**Author:** ![wildina7](https://avatars.discourse-cdn.com/v4/letter/w/5fc32e/32.png) [@wildina7](https://forum.xbench.net/u/wildina7)\
**Post date:** [August 5, 2025, 1:22pm UTC](https://forum.xbench.net/t/regex-where-is-in-the-source-but-its-missing-in-the-target/1312/3 "2025-08-05T13:22:45Z")

</div>

That worked, thanks a lot!
