I try to extract the media description of a SDP package.
I have a line like
a=rtpmap:113 H264/90000
(after that there is always a carriage return)
I want everything after a=rtpmap:[number][whitespace] till the carriage return, without the return itself and constructed the following Regex, which doesn't work:
(?<=(a=rtpmap:[0-9]+\s)).*(?=\r)
If I do like
(?<=(a=rtpmap:[0-9]{3}\s)).*
I get at least a result, but the number after rtpmap isn't always 3 characters long. Why isn't the + working here?