I'm new on this forum. Let's consider a table with only one field. I'd like to make sure that the format for each row is exactly (even for the lenght) as follows:
XX-$$$,$$ (where X is a string and $ is a number)
Eg.
AC-333,20
BZ-436,22
QQ-333,42
So I would extract incorrect records, such as:
AC-333,2
AC/333,22
AC333,22
23-333,22
Please, could you help me? If I need to use the java snippet, could you explain me step by step how to achieve this result? Thanks in advance.