1. webstar
  2. RO CSVI
  3. Thursday, 14 March 2019
  4.  Subscribe via email
Ok This is possibly a long shot...
We have a cvs from a supplier that has product descriptions in this format (ie NO-formatting)
"Specifications:Non-slip 11.0mm hex shank is standard on all Versadrive tools; 55mm internal depth of cut on all sizes of holesaw. Supplied with M8 Grub Screw to hold pilot drill. Remove this grub screw when using Pilot Pin for broaching or multisink Features:Non-slip 11.0mm hex shank is standard on all Versadrive tools; 55mm internal depth of cut on all sizes of holesaw. Supplied with M8 Grub Screw to hold pilot drill. Remove this grub screw when using Pilot Pin for broaching or multisink"


Is there any way at all ,upon import, to format more like

<h3>Specifications:</h3>
<ul>
<li>Non-slip 11.0mm hex shank is standard on all Versadrive tools;</li>
<li>55mm internal depth of cut on all sizes of holesaw.</li>
<li>Supplied with M8 Grub Screw to hold pilot drill.</li>
<li>Remove this grub screw when using Pilot Pin for broaching or multisink</li>
</ul>
<h3>Features:</h3>
<ul>
<li>Non-slip 11.0mm hex shank is standard on all Versadrive tools;</li>
<li>55mm internal depth of cut on all sizes of holesaw.</li>
<li>Supplied with M8 Grub Screw to hold pilot drill.</li>
<li>Remove this grub screw when using Pilot Pin for broaching or multisink</li>
</ul>



I realise this is quite a long shot - I thought thru some kind of regex or find and replace?
Accepted Answer Pending Moderation
Hello,

That is indeed a very, very long shot. Even with regex I wonder how you plan to do this. First question to answer is, how do you determine the cut-off points? There seems to be no unique pattern in that string that would allow you to reformat that using regex.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Yes, Its just as I expected - theres no way to know what anything should be. <h3> or <li>

Ah well it was worth a shot
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Yes, no harm in trying :)
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!