Showing results for 
Show  only  | Search instead for 
Did you mean: 
New Contributor

Need help to create an HMR

Hello all,

I am creating an HMR to remove some line on the SDP.

The lines to be deleted start with a=cdsc:

When I create my HMR

modify body match-value /(.*)(a=cdsc:\x20.*\r\n)(.*)/ new-value /\1\3/

The result is that only the first occurrence (the first line encountered) was removed all others lines still in the SDP.

Is there someone can help with that?

Thank you

Labels (1)
Tags (2)
0 Kudos
1 Reply
New Contributor

Re: Need help to create an HMR

Hello Karim,

Not sure if the syntax follows ed or sed, but if it does simply add a 'g' at the end of the expression, i.e.. / new-value /\1\3/g