how to extract email ids from a text paragraph

how to extract email ids from a text paragraph

am 16.02.2007 05:58:37 von k.visube

I ve a text paragraph something like

sample sample sample sample rr@yahoo.com sample sample
sample sample sample sample sample sample sample sample
ds@example.com sample sample sample sample sample
sample sample sampl yy@sample.com


i want to extract email ids from the above text paragraph.. using
Active server pages or php can u give me some clue to find a
solution.

i ve tried some regular expression technique to sort out this problem
but.i cant get the proper output plz help me.

Regards
visu