Simple Textarea Editor with Search/Replace

I need to add find, find-next and replace(all) capability to a textarea. There are dozens of javascript rich text and/or HTML editors out there but I need a very simple javascript only textarea editor for plain text. I have a limited mainframe environment, so I don't have ASP, PHP or server side anything. I could probably spend hours and hours brute-force developing the code, but I was hoping someone had aleady been down this path before.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Samuel LiewCommented:
Hi, kindly take a look at my script:

This and other scripts that I have done before at:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
You may also check out the current industry standards for this sort of thing. Neither are server side. Both are strictly HTML/JS.

I highly recommend FCKEditor. It has everything you're looking for right out of the box and is easy to configure if you read the documentation. It's really a breeze to set up and then you can tweak it quite extensively.
wesrAuthor Commented:
I ended up coming up with something of my own using information from both answers. Thanks!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Scripting Languages

From novice to tech pro — start learning today.