Guest User

Untitled

a guest
Jul 23rd, 2015
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. <?php
  2. $input = 'Решите: 3 + 10?';
  3. preg_match_all("/\d{1,2}/i", $input, $number);
  4. echo $number[0][1];
Advertisement
Add Comment
Please, Sign In to add comment