# How does permalink normalization with regex work?

**URL:** <https://meta.discourse.org/t/how-does-permalink-normalization-with-regex-work/354671>\
**Category:** Support\
**Created:** [February 26, 2025, 5:36pm UTC](https://meta.discourse.org/t/how-does-permalink-normalization-with-regex-work/354671 "2025-02-26T17:36:46Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![SubStrider](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/substrider/32/512604_2.png) [@SubStrider](https://meta.discourse.org/u/SubStrider)\
**Post date:** [February 27, 2025, 9:57am UTC](https://meta.discourse.org/t/how-does-permalink-normalization-with-regex-work/354671/3 "2025-02-27T09:57:48Z")

</div>

`/threads\/[^.]+\.([0-9]+)\/?/threads/\1`

this worked

---

_[View the full topic](https://meta.discourse.org/t/how-does-permalink-normalization-with-regex-work/354671)._
