dcsimg

Can I have Perl syntax regular expressions within my JSP pages?

Govind Seshadri

Yes, by using the Regexp Custom Tag Library from Apache Group's Jakarta Project, your JSP pages can contain Perl syntax regular expressions.

The Regexp custom tags implement the 3 most common Perl5 operations involving regular expressions:

[m]/pattern/[i][m][s][x]
s/pattern/replacement/[g][i][m][o][s][x]
split()