codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
<?php $string = "Hi, my name is Bob. I m 19yo and 170cm tall"; print_r(preg_split("/(,?\s+)|(\w\d)|(\d\w)/", $string));
Private
[
?
]
Run code
Submit