Answers for "how to make like in php"

PHP
5

php string contains

$mystring = 'abc';
$findme   = 'a';
$pos = strpos($mystring, $findme);
Posted by: Guest on May-20-2020
0

how to remove words in contain integer php

$input = "H3llo This is a? #test e3ample of a sentence-word bl&h.";
echo preg_replace('/(?=[^ ]*[^A-Za-z \'-])([^ ]*)(?:\\s+|$)/', '', $input);

This is of a sentence-word
Posted by: Guest on December-15-2020

Code answers related to "how to make like in php"

Browse Popular Code Answers by Language