So what I have is a MS Word docx file that contains some data which is not really sorted really nice.
/example output
1.
Lastname, Firstname
Address, City, State Zip
By doing Ctrl+Shift+* I can view all the special characters that exists within the file.
( ¶, ˚ , etc…)
then replace them with a “,” to act as a separator then export the file on an excel format.
Would there be a way to replace this symbols using PHP?
This issue has been flogged many times here .. am only responding because yours have a little twist.
What you need to do is remove all the characters you don’t want , then replace all spaces ” ” with “,”
Removing none ASII Characters (3 Examples)
Removing UTF8 Characters
Removing Line Feeds , Carriage Returns and Tabs
Replacing ” ” with “,” ;
You have more than enough options now ..
I hope this helps
Thanks
🙂