I recently built a small app for my site that allows my users to display their tweets. I am wondering if their is a way with jQuery or Javascript to detect or find stuff like hashtags and http://'s ?
A simple example of a sentence might be:
The quick #brown fox jumps over the #lazy dog
You might give twitter-text-js a try. It can do things like auto link @mentions, #hashtags, and urls.
Will result in:
Or finding the indices of #hashtags:
will result in: