i use a slideshow jquery plugin which automatically create a thumbnails path from my original image path as follows
replace: [/(\.[^\.]+)$/, 't$1'],
whenever i have a blablablabla.jpg
it knows that the thumb path is the same path with t suffix blablablablat.jpg
but i want to change this to /thumb/blablablabla.jpg
how can i achieve this using regular expression as the example above