# How to search contacts by firstname and lastname?

**URL:** <https://forum.mautic.org/t/how-to-search-contacts-by-firstname-and-lastname/22397>\
**Category:** Product Support\
**Tags:** mautic-3\
**Created:** [January 19, 2022, 12:29pm UTC](https://forum.mautic.org/t/how-to-search-contacts-by-firstname-and-lastname/22397 "2022-01-19T12:29:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![imog](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/imog/32/3813_2.png) [@imog](https://forum.mautic.org/u/imog)\
**Post date:** [January 19, 2022, 12:29pm UTC](https://forum.mautic.org/t/how-to-search-contacts-by-firstname-and-lastname/22397/1 "2022-01-19T12:29:03Z")

</div>

I don’t really get the search terms to be used to find an EXACT match of somebody by it’s first-/lastname. Especially if somebody has two firstnames.  
I’ve tried several combinations without the desired result.  
firstname:John Jack AND lastname:Doe  
(firstname:John Jack) AND (lastname:Doe)  
firstname:+John Jack, lastname:+Doe

If i just search by Text  
John Jack Doe  
i potenially also get others like  
John Jack Tanner-Doe

i really like to have an exact match.

Any idea?

---

<div class="post-metadata">

**Author:** ![EJL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ejl/32/12155_2.png) [@EJL](https://forum.mautic.org/u/EJL)\
**Post date:** [January 21, 2022, 1:55pm UTC](https://forum.mautic.org/t/how-to-search-contacts-by-firstname-and-lastname/22397/2 "2022-01-21T13:55:05Z")

</div>

Here is a list of the search options  
**Search Operators** :

- (plus sign) - Search for the exact string (i.e. if admin, then administrator will not match)  
! (exclamation mark) - Not equals string  
" " (double quotes) - Search by phrase  
( ) (parentheses) - Group expressions together.  
OR - By default the expressions will be joined as AND statements. Use the OR operator to change that.  
% - Use the % as a wildcard to search for specific names or values in a phrase (i.e. to find all companies with the word ‘Technologies’ then type %technologies%)

**Search commands**  
is:anonymous  
is:unowned  
is:mine  
email:\*  
segment:{segment\_alias}  
name:\*  
company:\*  
owner:\*  
ip:\*  
ids:ID1,ID2 (comma separated IDs, no spaces)  
common:{segment\_alias} + {segment\_alias} + …  
tag:\*  
stage:\*  
email\_sent:EMAIL\_ID  
email\_read:EMAIL\_ID  
email\_queued:EMAIL\_ID  
email\_pending:EMAIL\_ID

---

<div class="post-metadata">

**Author:** ![imog](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/imog/32/3813_2.png) [@imog](https://forum.mautic.org/u/imog)\
**Post date:** [January 21, 2022, 3:00pm UTC](https://forum.mautic.org/t/how-to-search-contacts-by-firstname-and-lastname/22397/3 "2022-01-21T15:00:20Z")

</div>

Er - okay…, thank you for forwarding what i get when i click on (?) in the guy 😉  
But that is not the answer to my question, nor does it help me in any way. As i wrote i already know about and tried out some combinations, but non worked the way i need.

---

<div class="post-metadata">

**Author:** ![imog](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/imog/32/3813_2.png) [@imog](https://forum.mautic.org/u/imog)\
**Post date:** [February 4, 2022, 7:18am UTC](https://forum.mautic.org/t/how-to-search-contacts-by-firstname-and-lastname/22397/4 "2022-02-04T07:18:54Z")

</div>

Still no solution in sight ;-(
