In PostgreSQL, we can use the regexp_like()
function to check whether or not a match of a POSIX regular expression occurs within a given string.
We pass the string as the first argument and the pattern as the second argument. We can also provide a flag as an optional third argument, which determines how the function behaves.
Continue reading