I have a string that contains a path, like "this/is/a/path/to/the/roo
r". I'm attempting to get everything after "root" (in this case "/subfolder".)
According to the documentation at regular-expressions.info, (?<=s)t should match the first "t" in "streets". I used that to make this:
<cfset regex = "(?<=root).*">
This gives me the error "Reason: Sequence (?<...) not recognized."
I've Googled up a storm and tried escaping characters, changing the parentheses... but the most common error that throws is "?+* follows nothing in expression" with the occasional "Malformed regular expression" "?<="".
I'm at a loss. Can you help? Thanks!