I have two fields that I have to check for a certain format, which is:
First character Alpha, the rest alpha-numeric or underscore and for one of the two fields I have to enforce all uppercase. I am new to RegExp and had thought that \^[A-Z]\w$ would give me what I need, but that does not seem to be the case. Can anybody out there lend a hand and perhaps explain to me what I am missing?
Thanks,
WB
First character Alpha, the rest alpha-numeric or underscore and for one of the two fields I have to enforce all uppercase. I am new to RegExp and had thought that \^[A-Z]\w$ would give me what I need, but that does not seem to be the case. Can anybody out there lend a hand and perhaps explain to me what I am missing?
Thanks,
WB