'Prevent pgAdmin4 from stripping regex characters when using Save results to file

Using pgAdmin4 v5.4 and I have a table uses column of type text that has some regex in the cells. Mostly just the carat symbol ^. When I save the results of this query to file, those regex characters are stripped out. Looking at the resulting csv file in a text editor all regex have been removed.

Is there a way to prevent this from happening?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source