Does anyone have an example of how to use regexsplit
Christopher Bongaarts
cab at umn.edu
Thu Sep 27 16:20:32 EDT 2012
On 9/27/2012 12:29 PM, Leonard Kroll 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.
This might be a case where the regex has to match the whole string to
count, in which case you might find success with:
^(Staff|Student|Faculty).*
--
%% Christopher A. Bongaarts %% cab at umn.edu %%
%% OIT - Identity Management %% http://umn.edu/~cab %%
%% University of Minnesota %% +1 (612) 625-1809 %%
More information about the users
mailing list