I'd like to find the text in between to find characters in a string.
Example:
$string = "What a nice day this is #its a bad day# to be riding your bicycle!";
I want to withdraw the text inbetween the "#" chars. So it would give me "its a bad day"
or "#its a bad day#"
The text inbetween these chars is unknown in my script so I can't just do strstr(); or something. And if there is no such function, maybe someone could make it?
Thanks in advance.