Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

remove square brackets from string php


preg_match_all('/[[([^]]+)]]/', $yourText, $matches);
foreach($matches as $link) {
   echo $link[1];
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #square #brackets #string #php
ADD COMMENT
Topic
Name
1+7 =