Any idea on what would be the right function in Postgres to convert the Oracle Pattern Matching Regular Expression REGEXP_EXP ? I'm converting the source code from Oracle to Postgres,
ORACLE
IF REGEXP_LIKE(j.TRK, '^[0-9]+$') THEN
For Postgres we are using the following code,
IF aws_oracle_ext.regexp_like(j.trk, '^[0-9]+$') THEN
I need something native to Postgres without Oracle Extensions.
~operator in Postgresif j.trk ~ '^[0-9]+$' then...