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.

Cloud Free Trial

Try Talend Cloud free for 30 days.

Tutorial

Introduction to Talend Open Studio for Data Integration.

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.