Trying to get switchee to work with a regex check against a URL segment.
For example following URL check if segment 2 is numeric:
/property/123
Using:
{exp:switchee variable = "{segment_2}"}
{case value="#[0-9]+#"}
IS A NUMBER
{/case}
{/exp:switchee}
However this isn't working. Any thoughts/suggestions?
Cheers
Cole