Converting string to properly formed HTML

Six Stars

Converting string to properly formed HTML

I have strings that are meant to be hyperlinks, however, the source isn't properly formed.

 

Is there a way to convert something like the following into a properly formed hyperlink

 

Source

<http://www.fmd.qut.edu.au/security/dvd/Evacuation_282k.wmv>

 

And naturally what I want 

<a href="http://www.fmd.qut.edu.au/security/dvd/Evacuation_282.wmv">Evacuation</a>  or

<a href="http://www.fmd.qut.edu.au/security/dvd/Evacuation_282.wmv">http://www.fmd.qut.edu.au/security/dvd/Ev...

 

*** Please note: This is an invalid link ****


Accepted Solutions
Moderator

Re: Converting string to properly formed HTML

Hello,

Are you using talend data preparation product?

With talend data integration solution, if you want to create a properly formed HTML table with Information of the string above, you could do some java code in tJavaRow component. (for ex. tFileInputxxxx-->tJavaRow).

Best regards

Sabrina

 

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

All Replies
Moderator

Re: Converting string to properly formed HTML

Hello,

Are you using talend data preparation product?

With talend data integration solution, if you want to create a properly formed HTML table with Information of the string above, you could do some java code in tJavaRow component. (for ex. tFileInputxxxx-->tJavaRow).

Best regards

Sabrina

 

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Introduction to Talend Open Studio for Data Quality

Find out about Talend Open Studio for Data Quality

Watch Now

Enabling Data Governance

Learn how to enable Data Governance

Watch Now

The Definitive Guide to Government Data Quality

Take a peek at the definitive guide to Government Data Quality

Read