Skip to content

Instantly share code, notes, and snippets.

@adililhan
Created November 17, 2012 19:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adililhan/4098996 to your computer and use it in GitHub Desktop.
Save adililhan/4098996 to your computer and use it in GitHub Desktop.
RegEx'de Named Capturing Groups Örneği
<?php
$str = "ayva araba masa kitap defter 12 4378564 aslan";
preg_match_all('/(?P<rakamlar>[0-9]+)/', $str, $matches);
print_r ($matches);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment