Guest User

Untitled

a guest
Feb 22nd, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. $a = 'Пополнение баланса #10';
  2. preg_match('/^(Пополнение баланса) #([0-9]+)$/', $a, $match);
  3.  
  4. print_r($match);
  5.  
  6. Array
  7. (
  8. [0] => Пополнение баланса #10
  9. [1] => Пополнение баланса
  10. [2] => 10
  11. )
Add Comment
Please, Sign In to add comment