Regular expression on range

Posted by user1515425 on Stack Overflow See other posts from Stack Overflow or by user1515425
Published on 2012-09-01T03:37:21Z Indexed on 2012/09/01 3:37 UTC
Read the original article Hit count: 87

Filed under:

Sorry for these silly Question but i couldn't find a clue on my own

I am a beginner at regexp language and I want someone help to find and replace the following value in content-range Http=Header

Content-Range: bytes x-xxxxx/xxxx

i want to find the xxxx value and replace it with yyyyy so the value will be

x-xxxxxx/yyyy

for example

0-423423/7777777 to be 0-423423/9999999

Can anyone help me in it

thanks in advance

© Stack Overflow or respective owner

Related posts about regex