user profile image

Shows how to (fake) highlight text within a textarea.

Blog post: Highlight Text Inside a Textarea


  1. Really nice. I like it. 😃

  2. That's cool. I'm curious... What would be a real-world application for something like this? Did you find a need for this, or did you just want to see if it was possible?

  3. @stevenmonson I used this concept for a regex tester:!+More+words!

    I made that site forever ago, so the highlighting code is aging. Hope to upgrade that site with what you see here. :)

Leave a Comment Markdown supported. Click @usernames to add to comment.

You must be logged in to comment.