I have a large data file that I'm trying to cleanup in Textpad before importing into a new database.
In scanning the records I see characters like
br> - < - '
Are these character codes that got picked up in error?
How can I remove or convert this to the correct character?
Is it possible to convert br> - < - '
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm
These look like the result of a bad conversion from HTML (or similar) to plain text.
br is perhaps from <br> or <br/> , which represents a newline.
> is perhaps from > , which represents > (greater than).
< is perhaps from < , which represents < (less than).
' is perhaps from ' ; (without the space in it, which I had to insert to stop it being interpreted here), which represents the character with ASCII value 39, that is, ' (apostrophe).
All the replacements below require
br is perhaps from <br> or <br/> , which represents a newline.
> is perhaps from > , which represents > (greater than).
< is perhaps from < , which represents < (less than).
' is perhaps from ' ; (without the space in it, which I had to insert to stop it being interpreted here), which represents the character with ASCII value 39, that is, ' (apostrophe).
All the replacements below require
To replace the occurrences of br :[X] Regular expression
To replace the occurrences of > :Find what: \<br\>
Replace with: \n
To replace the occurrences of < :Find what: >\>
Replace with: >
To replace the occurrences of ' :Find what: <\>
Replace with: <
The regex symbols \< and \> anchor their positions in the match to the beginning or end, respectively, of a word.Find what: '\>
Replace with: '