Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
117 views
in Technique[技术] by (71.8m points)

How to replace a digit before . Dot in a text file?

Hey I have a very big text file I want to replace a digit before (.)

For example 
https://www.example.com/something/file0.txt
https://www.example.com/something/file1.txt
https://www.example.com/something/file2.txt
https://www.example.com/something/file3.txt

I want output like this
https://www.example.com/something/file0.txt
https://www.example.com/something/file0.txt
https://www.example.com/something/file0.txt
https://www.example.com/something/file0.txt

Any help would be great, thanks!
question from:https://stackoverflow.com/questions/65838935/how-to-replace-a-digit-before-dot-in-a-text-file

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...