# Removing Titles from text strings

**URL:** <https://forums.knack.com/t/removing-titles-from-text-strings/18937>\
**Category:** Get Answers\
**Created:** [March 13, 2025, 12:35pm UTC](https://forums.knack.com/t/removing-titles-from-text-strings/18937 "2025-03-13T12:35:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pete1](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@Pete1](https://forums.knack.com/u/Pete1)\
**Post date:** [March 13, 2025, 12:35pm UTC](https://forums.knack.com/t/removing-titles-from-text-strings/18937/1 "2025-03-13T12:35:28Z")

</div>

Is there an easy way of removing (Mrs), (Mr), (Miss) from a character string?  
Thanks

---

<div class="post-metadata">

**Author:** ![Dean2](https://avatars.discourse-cdn.com/v4/letter/d/bcef8e/32.png) [@Dean2](https://forums.knack.com/u/Dean2)\
**Post date:** [March 13, 2025, 8:32pm UTC](https://forums.knack.com/t/removing-titles-from-text-strings/18937/2 "2025-03-13T20:32:10Z")

</div>

Hi

ChatGPT suggests you try “REGEXEXTRACT({Your Field}, “(?\<=)\s).\*”)”

This should extract the name **after** the title, assuming the title is in the format `(Mr) Name`.

📌 **Limitation** : This works if the title is always enclosed in parentheses **before** the name.

Note: Knack uses the function extractRegex rather than REGEXEXTRACT.

Dean

---

<div class="post-metadata">

**Author:** ![Pete1](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@Pete1](https://forums.knack.com/u/Pete1)\
**Post date:** [March 14, 2025, 8:40am UTC](https://forums.knack.com/t/removing-titles-from-text-strings/18937/3 "2025-03-14T08:40:10Z")

</div>

Many thanks
