Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I did something similar as a jQuery plugin here: https://github.com/garyharan/jquery-replace-utilities


This 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: