I want a regular expression to highlight text (underline) in sms like default sms app in android phone.
I have tested for some matched cases:
Number: 06464, +86786, +84 879, ff765756765thw /*more than 5 digits */
Web address: abc.com, http://google.com
Email address: abc@gmail.com
Date: 2012.12.02

I tried searching in android OS source code but it didn’t help. How can I get it?
Thank to Sana, based on your hint, I found all things in Pattern.java
For example:
– Phone:
-Email: