Julia Programming Language
Remove unmatched parts via regular expression
New to Julia
strings
,
regex
lbilli
December 31, 2021, 5:28am
6
You can try:
julia> replace("abc12 3abc @-", r"[^\d]" => "") "123"
3 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Removing characters from String
General Usage
strings
15
12591
January 26, 2021
Regular Expression
Data
4
893
April 20, 2017
How to find and replace (Regx) in string abcdac only 'a' who is not before 'c'?
General Usage
6
661
August 22, 2020
Regex: ERROR: PCRE error: requested value is not set
New to Julia
regex
4
652
May 9, 2020
Help me make a regex, instead of this?
General Usage
strings
,
regex
13
1382
May 5, 2019