<?php $pattern = '/[a-z0-9]{1,25}\s+([0-9]{3,12})\s+[.]*(\-\c))/i'; $string = "qwertyuiop 1234567890 .-i"; // '\c)' -> 0x29 | 0x40 -> 0x69 -> 'i' var_dump(preg_match($pattern, $string));
You have javascript disabled. You will not be able to edit any code.