<?php $text = "rami@gmail.com:Password This email is from Gmail email subscription is valid omar@yahoo.com:password this email is from yahoo email subscription is valid "; preg_match_all("/(.*@.*):(.*?)\s*\n/", $text, $matches); $matches = array_combine(["match", "email", "password"], $matches); var_dump($matches);
You have javascript disabled. You will not be able to edit any code.