'Regex Patternst Match Wrong Strings
There is my regex
\[a:section(.*)\](.*)\[\/a:section\]
https://regex101.com/r/wtN6Rk/1
I wanna detect like this
Group1 : asasasas
Group2 : [a:widget type=blog][a:widget type=blog][a:widget type=blog]
But my regex code match wrong, How can I fix it?
Edit : If I don't use "[" string in group2, It works what I want.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
