3 ms·
I did something similar as a jQuery plugin here: https://github.com/garyharan/jquery-replace-utilities https://github.com/garyharan/jquery-replace-utilities
by xutopia 14y ago
I did something similar as a jQuery plugin here: https://github.com/garyharan/jquery-replace-utilities https://github.com/garyharan/jquery-replace-utilities
- padolsey 14y agoThis doesn't solve the cross-element-boundary problem though. If a match starts in one element but ends in another this plugin doesn't seem to replace it at all.