Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>Mail Extrator by Kyfx</title>
- <style type="text/css">
- textarea{
- font-size: 15px;
- font-family: Tahoma;
- color: #0078AA;
- border: dashed 1pt #0000BB;
- }
- input{
- color: #FF0000;
- border: dotted 1pt #0078AA;
- }
- </style>
- </head>
- <body>
- <center> <br>
- Mail Extrator from Text (is just mini helper) <br>
- coded by <a href="https://twitter.com/3M4i1">Kyfx</a> and i want to say thanks to my frineds <br>
- Thamk u supporters<a href="https://twitter.com/3M4i1">Twitter</a> or
- my <a href="http://pastebin.com/u/Kyfx">pastebin account</a> <br><br>
- <form method="post">
- <textarea name="magnom" cols="111" rows="15"></textarea> <br>
- <input type="submit" name="mr" value="Extrat Emails only"/>
- </form>
- <br>
- </center>
- </body>
- </html>
- <?php
- if($_POST['mr']){
- $text=$_POST['magnom'];
- preg_match_all('#[A-Z0-9a-z._%+-]+@[A-Za-z0-9.+-]+#',$text,$matches);
- foreach ($matches[0] as $ul){
- echo $ul."<br>";
- } }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement