PHP extract string in between [ and ]

LolLOL

New Member
How to extract string between [ and ]I tried using trim() but I believe trim() only works in removing spaces.ex. [abc123-ab:ab123] output should be -> abc123-ab:ab123
 
Back
Top