Stay informed -
Newsletter Signup
Remove numbers from a word
Dated Added: 19th October 2007
This function is simple, it removes numbers from a string.
Copy Code:
<?php function remove_numbers($value) { $value=preg_replace('/d+/', '', $value); return $value; } $string='This string will have all numbers removed - 283 3928 3930'; echo remove_numbers($string); ?>
Script Updates
Ajax
ASP
ASP.NET
CSS
HTML
Java
Javascript
PHP
Python
Ruby on Rails
Useful Tools
XML
Request Help
Request a Script
Request WebDev
Contact Us
About Us
Ajax Scripts | ASP Scripts | ASP.NET Scripts | HTML Scripts | Javascript Scripts | PHP Scripts | Python Scripts | Ruby on Rails Scripts | XML Scripts
2001-2007 © All Rights Reserved. 3Branch Internet Development. All content is available under the GPL