I am trying to write a regular expression that will match a link-attribute in .png files.
Example: I have a lot of .png like this
https://jnTb6EZom8c/s144/800px-s%25252Ct%252529%2520%25282%2529.png
https://jnTb6EZom8c/s1300/800px-s%25252Ct%252529%2520%25282%2529.png
https://jnTb6EZom8c/s50/800px-s%25252Ct%252529%2520%25282%2529.png
I want to search for /s144
/s1300
/s50
and so on and replace it with /s400+c
. My Regex /\/s\B\d{2,4}/
works fine in Regex-Tester.
Now I want to do the job with vim, but I always get 'pattern not found'. What is wrong with my regular-expression?