# Search API '/u/search and wild cards or features?

**URL:** <https://meta.discourse.org/t/search-api-u-search-and-wild-cards-or-features/126171>\
**Category:** Support\
**Created:** [August 19, 2019, 1:50pm UTC](https://meta.discourse.org/t/search-api-u-search-and-wild-cards-or-features/126171 "2019-08-19T13:50:50Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![alank](https://avatars.discourse-cdn.com/v4/letter/a/c89c15/32.png) [@alank](https://meta.discourse.org/u/alank)\
**Post date:** [August 19, 2019, 1:50pm UTC](https://meta.discourse.org/t/search-api-u-search-and-wild-cards-or-features/126171/1 "2019-08-19T13:50:50Z")

</div>

I’m attempting to use the Discourse search via /u/search/… and unless I’m mistaken it doesn’t offer wildcards or defaults to partial matches within names, for example I have the following users…

\*andrew  
\*marian  
\*mark

If I search on 'an" I only get ‘andrew’  
If I search on 'ma" I get both ‘mark’ and ‘marian’

Are there any wild-card features to find on a search of ‘an’ to both get ‘andrew’ and ‘marian’ ?

My full query in JS is…

```plaintext
this.DiscourseAPI.get(`u/search/users.json?term=${term}&include_groups=false&include_mentionable_groups=false&include_messageable_groups=false&topic_allowed_users=false`

```

Where `{term}` is replaces by the user search string (eg. ‘an’ or ‘ma’)

---

_[View the full topic](https://meta.discourse.org/t/search-api-u-search-and-wild-cards-or-features/126171)._
