KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
How can I use a regular expression in the substr() PHP function to get a substring matched by a pattern? Edited: example: $name = 'hello [*kitty*],how good is today'; I want to get what is between [ .... ] placeholder.
Tags (comma-separated)
Save Edits
Cancel