--- Osvaldo Rosario Kussama <[EMAIL PROTECTED]> wrote: > Try: > SELECT your_field ~ '.*[[:digit:]]{2}$';
This could be simplified a little. :o) WHERE your_field ~ '\\d{2}$'; ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match