hello,
i need to export virtuemart product_s_desc without any line breaks, because its destroy the export file everytime.
my export template configuration:
Field Delimiter: ~
Text Enclosure: '
i tried also a replace rule to remove all html from the field. but i did not find a way to remove line breaks.
please can you help?
- gametaxi
- RO CSVI
- Monday, 31 October 2016
- Subscribe via email
0
Accepted Answer
Pending Moderation
Hello,
You can try opening your export file with OpenOffice/LibreOffice as it interprets line breaks. See if it helps.
You can try opening your export file with OpenOffice/LibreOffice as it interprets line breaks. See if it helps.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Hello,
One more solution here is that you can also try writing a replace rule using regular expression to find for \r\n and replace it with a space. Let me know if this helps.
One more solution here is that you can also try writing a replace rule using regular expression to find for \r\n and replace it with a space. Let me know if this helps.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
if i try replace rule regular expression \r\n i get empty fields for 'product_s_desc'
same if i try only \r or \n
same if i try only \r or \n
Accepted Answer
Pending Moderation
Hello,
I am not that good in writing regular expressions but can you post the screenshot of your replace rule to check?
I am not that good in writing regular expressions but can you post the screenshot of your replace rule to check?
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Hello,
Regular expression is a pattern we use to find a string or a character or a numbers inside another string. Have a look at regex documentation to know on it. You have written a rule to find \r\n and replace it with space and the method to be regular expression. This explains why product_s_desc field was empty. You can try changing method to regular text in your rule settings and see if it helps else you would need to find a regular expression which would find line breaks and use it in your rule.
Regular expression is a pattern we use to find a string or a character or a numbers inside another string. Have a look at regex documentation to know on it. You have written a rule to find \r\n and replace it with space and the method to be regular expression. This explains why product_s_desc field was empty. You can try changing method to regular text in your rule settings and see if it helps else you would need to find a regular expression which would find line breaks and use it in your rule.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »