Does anyone have an example of how to use regexsplit
Tom Poage
tfpoage at ucdavis.edu
Thu Sep 27 18:42:46 EDT 2012
Is the regex like (or does it invoke) Java's split() method? If so, the regex would be composed to match the separator, i.e. "/".
Tom.
On Sep 27, 2012, at 10:29 AM, Leonard Kroll <Leonard.Kroll at umb.edu> wrote:
...
> I have a title attribute that looks like Faculty/pt and I want to pull off just the Faculty portion.
> I have tried a regex of ^(Staff|Student|Faculty) and it only works if the title is "Faculty". (exact match)
> If the title is "Faculty/pt" the regular expression does not match.
>
> The attribute values for title can be Student, Student/pt, Staff, Faculty and Faculty/pt, Faculty/do
>
> Also tried regex="^(\w*)"
More information about the users
mailing list