I am trying to use sed for matching this pattern: it has multiple parts, each part is separated by a full stop, and the content is a non-empty sequence of digits, like:
"1", "1.2", "192.168.0.1", …
Does sed support grouping a sequence of regex as a group and use + or *, etc. on it?
I’m grateful for any help. Thank you!
Since you are matching patten you can use
grepas:In
sedyou can do:See it