How do I remove the int dynamically using preg_replace function in php?
I have the following code
CREATE TABLE vtiger_meter ( meterid int(11) DEFAULT NULL, meterno int(8) DEFAULT NULL, cdate date DEFAULT NULL, address varchar(255) DEFAULT NULL, customer varchar(100) DEFAULT NULL )
And I want the following code
CREATE TABLE vtiger_meter ( meterid int DEFAULT NULL, meterno int DEFAULT NULL, cdate date DEFAULT NULL, address varchar(255) DEFAULT NULL, customer varchar(100) DEFAULT NULL )
I want like about output. After int there must a dynamic value I want to remove that one. How to do this any suggestion?
I do with custom function explode but I want using this in preg_replace.