projects
/
gwvp-mini.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
disabling chat bits, should really work on core functionaly first.
[gwvp-mini.git]
/
unittests
/
filter.php
1
<?php
2
3
$input = "i'm a looking at the rail:road, if you get me";
4
5
$inp = preg_replace("/[^a-zA-Z0-9 ]+/", "", $input);
6
7
echo "inp is $inp\n";
8
9
$res = explode(" ", $inp);
10
11
echo "res is ".print_r($res, true);
12
?>