replace-last

JavaScript replaceLast function - Replaces last match for pattern in string with replacement

alib-array

A set of JavaScript array helper functions: position, contains, match, exclude, find, update, replace, move, swap, first, last, unique.