Articles in this section
Category / Section

How do I get the value from the HTML content stored as string in the database column?

Published:

In this article, we will learn how to get the value from the HTML content stored as a string in the database column.

  1. Identify the column where the data contains HTML tags.
  2. HTML tags from the text column can be removed by using the below expression. Create an expression column in your data source using the below expression.

Expression to remove HTML tags from the data, when PostgreSQL Data Store is configured.

regexp_replace (substring(REPLACE(REPLACE([Data], ',', ''), '<br>', ',') from '<row>.*</row>'), E'<[^>]+>', '', 'gi')
  1. Bind this expression column with a grid/table widget to see the isolated value in each row.

Actual Data:

Name.png

After Expression:

image.png

Related Articles

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
KP
Written by Karthick Palani
Updated:
Comments (0)
Please  to leave a comment
Access denied
Access denied