# How do I check for non-breaking space in target?

**URL:** https://forum.xbench.net/t/how-do-i-check-for-non-breaking-space-in-target/32
**Category:** Technical Support
**Created:** [February 7, 2016, 5:59pm UTC](https://forum.xbench.net/t/how-do-i-check-for-non-breaking-space-in-target/32 "2016-02-07T17:59:52Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![XbenchUser](https://avatars.discourse-cdn.com/v4/letter/x/57b2e6/32.png) [@XbenchUser](https://forum.xbench.net/u/XbenchUser)
#### Post date: [February 7, 2016, 5:59pm UTC](https://forum.xbench.net/t/how-do-i-check-for-non-breaking-space-in-target/32/1 "2016-02-07T17:59:52Z")

</div>

I would like to create an automate search for absence of non-breaking spaces in target: e.g. “Software -[nbsp] 1.0”.

I need to ensure that there is a non-breaking space between software name and version in target, so I would like to search for hits where it is absent.

However, I did not figure out who to make Xbench differentiate between non-breaking spaces and normal whitespace.

---

<div class="post-metadata">

### Author: ![pcondal](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.xbench.net/pcondal/32/305_2.png) [@pcondal](https://forum.xbench.net/u/pcondal)
#### Post date: [February 7, 2016, 6:07pm UTC](https://forum.xbench.net/t/how-do-i-check-for-non-breaking-space-in-target/32/2 "2016-02-07T18:07:34Z")

</div>

You can check whether there is not a non-breaking space between the software name and the version number with this search expression:

`Source: "Software[:space:]1\.0"`  
`Target: -"Software\x00a01\.0"`  
`Search settings: Regex Mode, Powersearch (Ctrl+P)`

`\x00a0` stands for non-breaking space (hexadecimal code).

Note that you should replace _Software_ with the actual program name and that the dot (`.`) in the version number must be escaped with a backslash (`\`). If not, the dot means _any character_ in Regex.

With these search settings, Xbench will display all segments that contain _Software_ + _whitespace_ + _VersionNumber_ in the source text and do not have _Software_ + _non-breaking space_ + _VersionNumber_ in target.
