How to change URL params using javascript?

i need to change an image URL size like to

Actually i need to change all image from api 50*50 to 800*800, how can i replace URL keyword using javascript or regular expression?

50*50 to 800*800 is not working using regular expression.

Read more here:

Content Attribution

This content was originally published by Koushik Saha at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: