Sign in to Community
Sign in to view all badges
How can I match a string against a regular expression in HTL?
I would want to do one thing if it matches and another if it doesn't.
Alternatively, if HTL does not have that capability built in, is there a way that I can pass a string into a utility method to do that?
If you use a Sling Models with your HTL - you can use Java to perform all REG EX functionality.