Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php remove numbers from string

$words = preg_replace('/[0-9]+/', '', $words);
Comment

php remove numbers from string

function remove_nums ($string) {
    return preg_replace('/d/', '', $string);
}
Comment

PREVIOUS NEXT
Code Example
Php :: php number padding 
Php :: drupal 8 add message 
Php :: php json pretty print 
Php :: wc get product image 
Php :: fluid inline if 
Php :: config clear laravel 
Php :: wordpress turn off php warnings 
Php :: htaccess post max size 
Php :: php explode new line 
Php :: check all php version installed ubuntu 
Php :: laravel tinker update password 
Php :: php store object in session 
Php :: laravel change post request before save 
Php :: laravel 6 link storage with public 
Php :: redirect http to https htaccess 
Php :: uninstall php ubuntu 
Php :: {{Str::limit laravel 
Php :: laravel foreach else 
Php :: prepend 0 to number php 
Php :: str slug laravel 
Php :: ucfirst() php 
Php :: laravel enum migration example 
Php :: Syntax error or access violation: 1071 La clé est trop longue. Longueur maximale: 1000 
Php :: php foreach first element 
Php :: laravel module create controller 
Php :: php reset array keys 
Php :: php timestamp to date 
Php :: php calculate date difference 
Php :: php mysql count rows 
Php :: how get the first item in foreach in laravel 
ADD CONTENT
Topic
Content
Source link
Name
9+2 =