I have a string "abcd bcde cdef defg" and I only need all occurences of "cde" to be returned into an array. Giving me in this case an array with 2 values being both "cde".
How can I become this by using a regex ? (I'm actually not looking for "cde" but another variable thing, but that regex is way to long for just this question).
Any help is welcome, also just a URL to a certain site etc...
Thanks in advance,
pepijn
In reply to Matching multiple occurences in one string by pepijn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |