Answer the question
In order to leave comments, you need to log in
How to remove possible characters?
Let's say there is a string [shortcode], it can be supplied both in the form " [shortcode]
", and in " <p>[shortcode]</p>
".
How to make one regular expression for preg_replace for both cases?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question