hi ,
using preg_match , how can i match "<", "_" , ">" " - " such special characters
in a sentence ???
Eg:
Strings are like this,
1.Ahgrwgsgd dfjb yuhh dfh GHJGJ kjHGKJGK -- here i want to
match
3.GHHTGH GHJK
hi
When i try to compile this code it gives following error.
Fatal error: Only variables can be passed by reference in
/var/www/html/hello/test.php on line 16
I have defined variable for to match some string patterns / symbols.
when i execute that code for preg_match , gives this fatal e
This php script perform matching text of some certain URLs. but in this
preg_match it wont match few patterns < _ .
with help of this script , can some body help me to match the other all
patterns .plz ?
";
if ( preg_match("/$chk_msg/", "$msg", $match) ) {
3 matches
Mail list logo