Julia Programming Language
Use regex replacement strings
New to Julia
regex
aplavin
February 19, 2022, 8:15am
8
julia> replace(str, r"\+\p{Lu}" => x -> lowercase(x[2])) "Abdulhakim"
5 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Using replace with a function of the match
New to Julia
4
1318
June 15, 2020
Regex: ERROR: PCRE error: requested value is not set
New to Julia
regex
4
616
May 9, 2020
Help converting python to julia?
New to Julia
strings
,
regex
2
722
December 8, 2019
Put an underscore before all digits in a string
General Usage
question
,
strings
1
772
November 15, 2020
Stripping or replacing substrings into a vector of strings
New to Julia
strings
,
dataframes
9
298
February 28, 2024