LAE

 View Only
  • 1.  Remove HTML tags within a column which contains other text.

    Employee
    Posted 10-09-2013 05:06

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: martinh1976

    Hi - I have an export from a rightnow knowledge base that contains html tags with it, along with text I wish to keep. e.g.

    <font face="Arial, Helvetica" size="2">What is the process for migrating away?</font>

    I want to remove the following

    <font face="Arial, Helvetica" size="2"> and </font>

    What is the easiest way to do this?

    Thanks

    Martin


  • 2.  RE: Remove HTML tags within a column which contains other text.

    Employee
    Posted 10-27-2013 06:46

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Tim Meagher

    Hi,

    How is this data formatted?
    Is this in a file which contains other tags?
    Do you have a sample?

    For instance, if you have managed just to extract the:
    <font ....>[Text To Extract]</font>
    pieces, then you should be able to wrap another <root> tag around this, and use the Convert Tabular XML node to extract the data within the <font></font> tags.

    On the other hand, if this is just a HTML dump, then you would probably want to use a filter node and regular expressions to extract the data within the tags.

    Regards,
    Tim.