php remove numbers from string
$words = preg_replace('/[0-9]+/', '', $words);
php remove numbers from string
$words = preg_replace('/[0-9]+/', '', $words);
php remove all but numbers
// Original SOA
preg_replace('/[^0-9]/', '', '604-619-5135'); // Removes the dahses in 604-619-5135
preg_replace('/[^0-9]/', '', '7#sq7k*77dql'); // = 7777
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
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us