It is my sed.
sed 's/\([a-z]\)\([A-Z]\)\([0-9]\)\([a-z]\)\([A-Z]\)\([0-9]\)\([a-z]\)\([A-Z]\)\([0-9]\)\([a-z]\)/\10/g'
I tried to get 10th grouping value.But,It gives first grouping value with 0(zero).
How to get 10th grouping value?
whether it is possible to get the 10th grouping value?
sed
only supports 10 groups(from \0
to \9
), and doesn't support non-captured group.
You can rewrite you command as:
sed 's/[a-z][A-Z][0-9][a-z][A-Z][0-9][a-z][A-Z][0-9]\([a-z]\)/\1/g'
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