I am trying to pull out the value that is contained between the greater than and less than operator but I must use regular expression.
Example below I need to pull lines with <8>, <9> and <10> but my regular expression below does not work.
.,$ s/\(.*\)<\([8-9]|\)>\(.*\)/changed \1 \2 \3/
line number <7>
line number <8>
line number <9>
line number <10>
line number <11>