Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
PHP
php keep only digitts
Isabella Schwarz
Programming language:
PHP
2021-07-01 17:44:53
0
Q:
php keep only digitts
El Zorko
Code:
PHP
2021-06-29 09:50:27
preg_replace('/\D/', '', $c)
0
Tags
php
digit
Related
php get only numbers from string
php count amount of times a value appears in array
php string only letters
php validate only numbers
first letter capital of every word in php
php get first 5 characters of string
php strftime year 2 digits
check value contains numbers or letters php
php open file capital letters or not
get only the first two word from a string php
add two numbers in php
take last four digits php
php get first digit of number
php define array first 10 number
php capitalize first letter
php remove characters not numbers or letters
php format int to 9 digits with preceding zeroes
php keep only numbers in string
replacing some digits of a number with asterisks php
New to Communities?
Join the community