milerfreitas
Member
Hello everybody!
I need a function similar to if(!preg_replace("my_regex", "my_string)) I tried to compare values and it didn't work.
I'll explain, I have a variable "token" which is extracted from the webhook base url.
In case I extract everything which is between the slash after the .com and the last slash in the URL I need a simpler way to check this instead of extracting text.
I need a function similar to if(!preg_replace("my_regex", "my_string)) I tried to compare values and it didn't work.
I'll explain, I have a variable "token" which is extracted from the webhook base url.
In case I extract everything which is between the slash after the .com and the last slash in the URL I need a simpler way to check this instead of extracting text.