Copy link to clipboard
I'm following this instruction, ColdFusion Help | REMatchNoCase. So I tried this:
sites = "training-me";
result = REMatchNoCase("/training/", sites);
But I kept getting Internal Server Error. Any help is much appreciated.
WriteOutput is for displaying simple values. The documentation you refer to says that the function, reMatchNoCase, returns an array. So you should should use writeDump instead.