Results 1 to 1 of 1
Related
-
parsing string Forum: CGI Perl Forum
Replies: 1 -
Array to string Forum: PHP Forum
Replies: 3 -
Can I get a variable name as a string? Forum: PHP Forum
Replies: 2 -
array and string manipulation Forum: CGI Perl Forum
Replies: 0 -
unusual string Forum: Javascript Forum
Replies: 2
-
11-25-2010, 06:01 AM #1
How to search for a particular string using preg_match
Hi,
I've a string "mpeg4" stored in $value as below, which needs to be searched in if statement. But the below if is not searching! What is wrong in this?
if(preg_match('mpeg4\d)/i',$value))
$value = "MPEG-4";
Please help.
Thanks,
Ramki
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum