Android Question Multiple CSBuilder marking

Mostez

Well-Known Member
Licensed User
Longtime User
I used this code example to mark web links, it works OK, I want to use another pattern to mark email addresses and phone numbers, is it possible to make multiple marking using two different patterns or more? text may contain web link, email address or phone number or all of them, and I want to open relevant intent
mark something like:

web: www.justfortest.com
email: email@something.com
GSM: 012345678

TIA
 

AnandGupta

Expert
Licensed User
Longtime User
Hi Mostez

Try this,

It does what you are looking for.
 
Upvote 0
Top