<?php $str = "127.0.0.1 domain.com#this is a comment"; preg_match('/^(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})[ \t]+([^ #]+)/',$str,$arr); print_R($arr);
You have javascript disabled. You will not be able to edit any code.