Wednesday, 12 July 2017
SQL - Parse HTML Data in Column
Answer
I have a column named "Message". In this column there is a data which is HTML code. I need to parse this HTML in SQL then split it 5 different column "Name" - "Surname" - "Email" - "Telephone" - "Message". Here is the HTML format that I need to parse;
NameSurname
kaydi peldi sord
Email
...@gmail.com
Telephone
535...5464
Message
Benfica-Fenerbahçe
First, split NameSurname to Name and Surname. The rule is split from last space (in this sample, it should "Name : ejder mehmet" , "Surname : sıkık", then insert other columns directly. How can I do that? Thanks for answers!
Subscribe to:
Post Comments (Atom)
casting - Why wasn't Tobey Maguire in The Amazing Spider-Man? - Movies & TV
In the Spider-Man franchise, Tobey Maguire is an outstanding performer as a Spider-Man and also reprised his role in the sequels Spider-Man...
-
I'm using Simple HTML DOM to extract data from a HTML document, and I have a couple of issues that I need some help with. On the line th...
-
How I write a function "noVowel" in python that determines whether a word has no vowels? In my case, "y" is not a vowel....
-
Basically I am from C, Embedded C field. After working for 5 yrs in this field, I would like to start C++. Now, I have started learning C+...
No comments:
Post a Comment