# Text case formatting in emails/landing pages - ie Proper Noun -\> First Name

**URL:** <https://forum.mautic.org/t/text-case-formatting-in-emails-landing-pages-ie-proper-noun-first-name/24034>\
**Category:** General Discussion\
**Created:** [May 9, 2022, 2:19am UTC](https://forum.mautic.org/t/text-case-formatting-in-emails-landing-pages-ie-proper-noun-first-name/24034 "2022-05-09T02:19:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tornmarketing](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tornmarketing/32/11603_2.png) [@tornmarketing](https://forum.mautic.org/u/tornmarketing)\
**Post date:** [May 9, 2022, 2:19am UTC](https://forum.mautic.org/t/text-case-formatting-in-emails-landing-pages-ie-proper-noun-first-name/24034/1 "2022-05-09T02:19:51Z")

</div>

What is everyones experience with cleaning up text cases in emails/landing pages from record tokens?

Ie someone fills in a form with lower case → “dwayne” and we want to then clean this up and apply a proper case on emails moving forward so email go our with “Hi Dwayne”

Text case formatting in emails/landing pages - ie Proper Noun → First Name

Short of cleaning up contacts via an external api / n8n  
[https://jawira.github.io/case-converter/api.html](https://jawira.github.io/case-converter/api.html)

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [May 9, 2022, 6:40am UTC](https://forum.mautic.org/t/text-case-formatting-in-emails-landing-pages-ie-proper-noun-first-name/24034/2 "2022-05-09T06:40:54Z")

</div>

Hello @tornmarketing !

The way you described works well, but I have a suggestion. Try the all-mighty [Twig Templates plugin](https://mtcextendee.com/marketplace/twig-templates-for-mautic/). You can use this format to add a capital to the first letter:

```auto
{{ 'dwayne'|capitalize }}

```

would return **Dwayne**

More over you can do:  
…  
`{{ contact.firstname|capitalize }}`  
…

Which would fix your problem.

---

<div class="post-metadata">

**Author:** ![tornmarketing](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tornmarketing/32/11603_2.png) [@tornmarketing](https://forum.mautic.org/u/tornmarketing)\
**Post date:** [May 9, 2022, 6:57am UTC](https://forum.mautic.org/t/text-case-formatting-in-emails-landing-pages-ie-proper-noun-first-name/24034/3 "2022-05-09T06:57:56Z")

</div>

Perfect! thx Joey
