![]() |
Help with regular expression
Hi,
I have a tab delimited file that is a few thousand lines long and it's gotten messed up. I was hoping someone could provide me a regex command that could help me resolve the issue. The file contains the following: title|description|url|site|keywords the first 500 entries are fine but about 4000 of the rest are mucked up. Instead of taking the form as above, they now look like this "title "|description|url|site|keywords I basically want to preserve the title as is and remove the "\n" Anyone have any ideas? Would save me a ton of time! Cheers |
PHP Code:
what sponsor? |
Quote:
There are quotes around the title that need to be removed. The sponsor is pimproll. The description, site url, and the rest are just fine, all I need to do is remove quote before title, remove a line break just after title and remove a quote that closes off the title Basically looking to make this: "title "| into this: title| Cheers |
icq: 33375924 if you want to invest a few bucks...
|
PHP Code:
|
use the macros in Textpad. Should only take 5 mins to go through it all once you create a workable macro (which should take only a few seconds)
|
| All times are GMT -7. The time now is 04:34 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123