ok so I have a string for example: text1.text
how do I serach it in this manner:
if text1.text =
now I want to find the "@" in that whole string, then from the index where it found the "@" to keep reading until it gets to a " and then read backward from the "@" until it gets to the "<" in the end to return the whole email address.
how can I possibly accomplish that?
how do I serach it in this manner:
if text1.text =
PHP:
<a href="archive/index.php">Archive</a> - <a href="mailto:<webmaster@somesite.com">Contact Us</a> -
now I want to find the "@" in that whole string, then from the index where it found the "@" to keep reading until it gets to a " and then read backward from the "@" until it gets to the "<" in the end to return the whole email address.
how can I possibly accomplish that?