I have an identifier attribute which can take different forms.
All contain a number, like 985 or B985 or 985a
Some are preceded by a capital letter like B985
Some are followed by a smallcaps letter or the character "*" like 985b or 985*
I want
- the capital letters at the beginning of the string to go into attribute PREFIX
- the numeric to go into attribute NUMBER
- the smallcaps letter or the * to go into attribute SUFFIX
I imagine using regex is the way. I have got the job partly done with a series of StringSearchers but I'd like to have advice from someone with experience.
Thanks in advance !