# Use regex replacement strings

**URL:** <https://discourse.julialang.org/t/use-regex-replacement-strings/76729>\
**Category:** New to Julia\
**Tags:** regex\
**Created:** [February 19, 2022, 6:53am UTC](https://discourse.julialang.org/t/use-regex-replacement-strings/76729 "2022-02-19T06:53:14Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![aplavin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aplavin/32/222056_2.png) [@aplavin](https://discourse.julialang.org/u/aplavin)\
**Post date:** [February 19, 2022, 8:15am UTC](https://discourse.julialang.org/t/use-regex-replacement-strings/76729/8 "2022-02-19T08:15:06Z")

</div>

```julia
julia> replace(str, r"\+\p{Lu}" => x -> lowercase(x[2]))
"Abdulhakim"

```

---

_[View the full topic](https://discourse.julialang.org/t/use-regex-replacement-strings/76729)._
