# Android Escape Characer RegEx Power Search

**URL:** <https://forum.xbench.net/t/android-escape-characer-regex-power-search/602>\
**Category:** Technical Support\
**Created:** [April 28, 2020, 8:10pm UTC](https://forum.xbench.net/t/android-escape-characer-regex-power-search/602 "2020-04-28T20:10:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![iwt](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.xbench.net/iwt/32/306_2.png) [@iwt](https://forum.xbench.net/u/iwt)\
**Post date:** [April 28, 2020, 8:10pm UTC](https://forum.xbench.net/t/android-escape-characer-regex-power-search/602/1 "2020-04-28T20:10:42Z")

</div>

I would like assistance on how to find any special characters (such as apostrophe) in Android XML file that does not have the escape character “”.

So that i would receive a report when linguist forget to add the “” before such special characters (mainly Quotation marks and Apostrophes).

Thanks!

---

<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:** [April 29, 2020, 7:15am UTC](https://forum.xbench.net/t/android-escape-characer-regex-power-search/602/2 "2020-04-29T07:15:10Z")

</div>

It would be helpful if you provide more information about how these characters should be entered on the bilingual file. Could you please post some right and wrong samples?

---

<div class="post-metadata">

**Author:** ![iwt](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.xbench.net/iwt/32/306_2.png) [@iwt](https://forum.xbench.net/u/iwt)\
**Post date:** [April 30, 2020, 7:08pm UTC](https://forum.xbench.net/t/android-escape-characer-regex-power-search/602/3 "2020-04-30T19:08:16Z")

</div>

Here is a string from the xml that shows when we need to know if a excape character is missing:

Il sistema dispone di %1$d dispositivi che saranno inutilizzabili dopo l\’eliminazione del sistema. Sarà necessario aggiungere nuovamente tali dispositivi a un sistema per utilizzarli.

The above string would not have the string ID showing in TRADOS but included just in case it helps.

We are trying to figure out a way to know if a apostrophe or quote is missing the “” (backslash). So when we run the tool for Regex it will flag these that don’t have it.

Thanks!

---

<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:** [May 4, 2020, 3:08pm UTC](https://forum.xbench.net/t/android-escape-characer-regex-power-search/602/4 "2020-05-04T15:08:03Z")

</div>

The following searches should help you:

Missing escape character before apostrophe:  
Target: `' -\'`  
Search mode: Simple  
PowerSearch: On

Missing escape character before opening or closing quotes  
Target: `"""" -"\"""`  
Search mode: Simple  
PowerSearch: On  
Normalize Native Characters: On (to find all types of quotes)
