If I want to make sure a segment does not start with a specific range of characters, how can I use regular expressions to accomplish this? Here is an example.
{if segment_2 == "/$P[0-9]/"}
Statement
{/if}
In other words if segment_2 starts with P and any number 0 through 9, do statement.
I thought from reading other posts that a regular expression in EEmachine was surrounded by / and /. But for whatever reason it is not working. Or is it even possible to use regular expressions in EE? I have version 1.5.2, will upgrade to 1.6.2 after I finish some cleanup work.
Thanks