# Permalink Wildcards

**URL:** <https://meta.discourse.org/t/permalink-wildcards/110998>\
**Category:** Support\
**Created:** [March 7, 2019, 4:51pm UTC](https://meta.discourse.org/t/permalink-wildcards/110998 "2019-03-07T16:51:56Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [March 7, 2019, 6:22pm UTC](https://meta.discourse.org/t/permalink-wildcards/110998/5 "2019-03-07T18:22:05Z")

</div>

Does this explanation of `permalink normalizations` not help?

> [@](#):
>
> Apply the following regex before matching permalinks, for example: /(topic._)?._/\1 will strip query strings from topic routes. Format is regex+string use \1 etc. to access captures

So you’d do something like

```
/(example-*)\?.*/\1

```

so all of the `example[123]*` would be removed before it’s matched against the permalinks.

---

_[View the full topic](https://meta.discourse.org/t/permalink-wildcards/110998)._
