Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
PHP
php remove numbers from string
omidh
Programming language:
PHP
2021-04-12 12:15:36
0
Q:
php remove numbers from string
Corpsekicker
Code:
PHP
2021-07-07 23:32:23
$words = preg_replace('/[0-9]+/', '', $words);
1
Tags
number
string
php
remove
Related
get words after string in in php
php keep only numbers in string
remove first element in array php
get the string after a character in php
remove non-uppercase character php
php remove characters not numbers or letters
php escape string
php remove dashes from string
php pop off the first character of string
remove html from string php
php remove everything after character
remove space from string php
remove first letter php
how to trim text php
php get only numbers from string
php remove prefix from string
take 10 character from string using php
php remove after character
New to Communities?
Join the community