11/21/09
Date Posted: 11/21/09
Summary: Javascript -- add HTML tags to highlighted text
I found this from
www.dynamicdrive.com. It's a big improvement over the earlier version and works in Firefox too.
PCRE -- examples
I found this example from php.net. The code has been reformatted to detect US phone numbers and reformat it into 123-456-7890 format. If it is not a US phone number then an error message will pop up.