Hi there. Love your app. I'm including it in my "essential web development tools" post.
check it out! you're the first one there!
Praise
-
- Posts: 2
- Joined: Wed Sep 21, 2022 11:50 pm
Re: Praise
Replacing numerical values in regex.
Is there a way to used named capture expressions in the replacement expression? I've never encountered this issue before with TextCrawler. I find it hard to believe that I've not had a similar circumstance in the past that I've not noticed it before. Perhaps it has something to do specific to the expression I have here. I made a brief screen recording to demonstrate. It's just a file shared at my Google drive showing non-numeric vs 10.0.0.1 IP replacement expressions.
How do we best handle this with a replacement expression in TextCrawler?
Is there a way to used named capture expressions in the replacement expression? I've never encountered this issue before with TextCrawler. I find it hard to believe that I've not had a similar circumstance in the past that I've not noticed it before. Perhaps it has something to do specific to the expression I have here. I made a brief screen recording to demonstrate. It's just a file shared at my Google drive showing non-numeric vs 10.0.0.1 IP replacement expressions.
How do we best handle this with a replacement expression in TextCrawler?
- DigitalVolcano
- Site Admin
- Posts: 1804
- Joined: Thu Jun 09, 2011 10:04 am
Re: Praise
I know this is a late reponse, but you probably need to write your capture groups in the replace expression like ${1} - otherwise they get mixed up with the numeric content.
e.g.
https://learn.microsoft.com/en-us/dotne ... ered-group
e.g.
Code: Select all
${0}50.30.20.10${1}