i have this text in file
"0000000441244"
"0000000127769"
I want to replace all zeros with 'L'
I am trying this and nothing gets chnaged
sed -e 's/0+/L/g' regex.txt
sed -e 's/(0+)/L/g' regex.txt
I want to know where i am wrong
Try this
sed -e 's/0\+/L/g' regex.txt
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With