Hi all, I need help with one script.
If i Have string like
$str = "0001564[B]A[/B]58749655
I need to find that A in this string, and count which number is it (When tha A is on the third place, return 2 [starting from 0])
A think regular expression will be the best fo it, but i don't know how to put it together.
Please help me!
Thank your really much.