Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #words #integer #php
ADD COMMENT
Topic
Name
1+1 =