# Search for en dash + word with capital first letter

**URL:** <https://forum.xbench.net/t/search-for-en-dash-word-with-capital-first-letter/668>\
**Category:** Technical Support\
**Created:** [October 7, 2020, 6:43am UTC](https://forum.xbench.net/t/search-for-en-dash-word-with-capital-first-letter/668 "2020-10-07T06:43:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![knutatle](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.xbench.net/knutatle/32/231_2.png) [@knutatle](https://forum.xbench.net/u/knutatle)\
**Post date:** [October 7, 2020, 6:43am UTC](https://forum.xbench.net/t/search-for-en-dash-word-with-capital-first-letter/668/1 "2020-10-07T06:43:52Z")

</div>

Hi, I’m a newbie, as my question probably will underline. I need to find all segments beginning with en dash AND capital first letter. Example: – People (not “– people”).

Thank you for any support!

Best regards,  
Knut

---

<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:** [October 7, 2020, 11:21am UTC](https://forum.xbench.net/t/search-for-en-dash-word-with-capital-first-letter/668/2 "2020-10-07T11:21:33Z")

</div>

You can try this:

- Search string: `– [A-Z]`
- Regular Expressions Mode: `Enabled`
- Case sensitive: `Enabled`

OR, taking into account that the n-dash is Unicode character 2013 (hex):

- Search string: `\x2013 [A-Z]`
- Regular Expressions Mode: `Enabled`
- Case sensitive: `Enabled`

If the uppercase can be a native character, then you need to add the native characters to to the `[A-Z]` character class. For example for Spanish it would be `[A-ZÑÁÉÍÓÚ]`.

---

<div class="post-metadata">

**Author:** ![knutatle](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.xbench.net/knutatle/32/231_2.png) [@knutatle](https://forum.xbench.net/u/knutatle)\
**Post date:** [October 7, 2020, 11:43am UTC](https://forum.xbench.net/t/search-for-en-dash-word-with-capital-first-letter/668/3 "2020-10-07T11:43:14Z")

</div>

Hi, pcondal, the – [A-Z] string works perfectly! Thanks a lot!

---

<div class="post-metadata">

**Author:** ![Auditor](https://avatars.discourse-cdn.com/v4/letter/a/bb73d2/32.png) [@Auditor](https://forum.xbench.net/u/Auditor)\
**Post date:** [November 4, 2025, 7:24pm UTC](https://forum.xbench.net/t/search-for-en-dash-word-with-capital-first-letter/668/4 "2025-11-04T19:24:21Z")

</div>

Hi! I’ve tried using \– or \x2013, but they don’t seem to work in Xbench 2.9. How can I search for en-dashes or em-dashes in the oldest version? Thanks!
