preg_match('`/`', '/hello/how are you/now/4/details')
The above and below returns true. Problem is I need only the below comparison to return true.
preg_match('`/hello/how are you/now/\d+/details`', '/hello/how are you/now/4/details')
I have a list of regex patterns and I need to see if the input/needle matches exactly one of the regex as illustrated above
Help.