DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
1+7 =
Submit