Hi all,
I've got a string which is pipe '|' delimited. I need a regex to validate the number of items, based on the pipe character. So a regex which will do the following:
If the max number of items is three:
asdfasdf|asdfasdf|asdfasdf = VALID
asdfasdf|asdfasdf|asdfasdf|asdfasf = Not Valid
Also, this string may be empty.
Any help would be much appreciated
Regards