# Checking for symbols

**URL:** <https://forum.xbench.net/t/checking-for-symbols/457>\
**Category:** Technical Support\
**Created:** [March 6, 2019, 10:38am UTC](https://forum.xbench.net/t/checking-for-symbols/457 "2019-03-06T10:38:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eemeli\_Jylha](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.xbench.net/eemeli_jylha/32/155_2.png) [@Eemeli\_Jylha](https://forum.xbench.net/u/Eemeli_Jylha)\
**Post date:** [March 6, 2019, 10:38am UTC](https://forum.xbench.net/t/checking-for-symbols/457/1 "2019-03-06T10:38:19Z")

</div>

Hi,

I’ve been checking translations for missing Trademark and Registered Trademark symbols.

For Trademark symbol, I can simply do the following search:

Source: ™  
Target: -™

For Registered Trademark symbol this doesn’t seem to work, instead I’ll have to insert the product/term it’s part of.

Source: “product®”  
Target: -“product®”

Am I missing something, or is there currently just no way of doing an individual search for certain symbols?

Thanks,  
Eemeli

---

<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:** [March 6, 2019, 11:09am UTC](https://forum.xbench.net/t/checking-for-symbols/457/2 "2019-03-06T11:09:22Z")

</div>

Hi Eemeli,

For the registered trademark symbol, I have tested a similar search and it works:

Source: `®`  
Target: `-®`  
PowerSearch: On  
Mode Search: Simple.

Please check that the **Match Whole Word** checkbox is not marked at the Search Options section.

Regards,  
Oscar.

---

<div class="post-metadata">

**Author:** ![Christelle](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@Christelle](https://forum.xbench.net/u/Christelle)\
**Post date:** [January 24, 2022, 4:18pm UTC](https://forum.xbench.net/t/checking-for-symbols/457/3 "2022-01-24T16:18:08Z")

</div>

Hi Oscar,

I have successfully added the checks as advised above for both ™ and ® and xBench does detect when one such occurrence in the target segment is missing.

However it no longer detects any issue when there are 2 or more occurrences of these symbols in the same segment, and only 1 occurrence is missing in the target.

Is it possible to capture this scenario and if so, how?

Thanks,  
Christelle

---

<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 25, 2022, 2:35pm UTC](https://forum.xbench.net/t/checking-for-symbols/457/4 "2022-01-25T14:35:58Z")

</div>

> [@Christelle](#):
>
> However it no longer detects any issue when there are 2 or more occurrences of these symbols in the same segment, and only 1 occurrence is missing in the target.

To detect when there is more than one ™ and ®, it is necessary to use regular expressions.  
For instance, to detect if the source contains 2 ™ characters but 1 at least is missing in target, use the following search:

Source: `™ "^[^™]+™[^™]+™[^™]*$"`  
Target: `-"^[^™]+™[^™]+™[^™]*$"`  
PowerSearch: On.  
Search mode: Regular Expressions.

To detect if the source contains 3 ™ characters but 1 at least is missing in target, use the following search:

Source: `™ "^[^™]+™[^™]+™[^™]+™[^™]*$"`  
Target: `-"^[^™]+™[^™]+™[^™]+™[^™]*$"`  
PowerSearch: On.  
Search mode: Regular Expressions.

To check ®, replace ™ with ®.

Hope this helps.
