473,573 Members | 2,836 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

An editor with better search/replace options...

I want to convert large files of prose to xhtml and so I need a way to
remove unwanted line wraps. So, I'm looking for a freebee editor that
has the capability of searching for a single "carriage return/line feed"
or "line feed/carriage return" and removing them. I quess what I need is
an editor that allows non-printable characters in it's search strings.

Does anyone know of on that will allow this?

Thank you...

Rich
Jul 24 '05 #1
23 6972
In article <1114788162.bb3 a5b381a3b298cf7 0ea6acc336deb1@ teranews>,
Se*********@hot mail.com enlightened us with...
I want to convert large files of prose to xhtml and so I need a way to
remove unwanted line wraps. So, I'm looking for a freebee editor that
has the capability of searching for a single "carriage return/line feed"
or "line feed/carriage return" and removing them. I quess what I need is
an editor that allows non-printable characters in it's search strings.

Does anyone know of on that will allow this?


Sed, VI.... ;)
--
--
~kaeli~
To steal ideas from one person is plagiarism; to steal from
many is research.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 24 '05 #2
SeaPlusPlus wrote:
I want to convert large files of prose to xhtml and so I need a way to
remove unwanted line wraps. So, I'm looking for a freebee editor that
has the capability of searching for a single "carriage return/line feed"
or "line feed/carriage return" and removing them. I quess what I need is
an editor that allows non-printable characters in it's search strings.

Does anyone know of on that will allow this?

Thank you...

Rich


Rich,

Try NoteTab Pro trial version set for no-wrap to convert the text to
XHTML and see if that works for you. You should easily see any
other discrepancies in the browser view. Also, any "off-spring" of
the original UNIX "vi" should allow you to search for (and
substitute) special characters. It just requires a knowledge of
control characters. The second suggested is not recommended unless
you are truly adventurous.

Cheers,

Del Ferguson
Jul 24 '05 #3
kaeli wrote:
In article <1114788162.bb3 a5b381a3b298cf7 0ea6acc336deb1@ teranews>,
Se*********@hot mail.com enlightened us with...
I want to convert large files of prose to xhtml and so I need a way to
remove unwanted line wraps. So, I'm looking for a freebee editor that
has the capability of searching for a single "carriage return/line feed"
or "line feed/carriage return" and removing them. I quess what I need is
an editor that allows non-printable characters in it's search strings.

Does anyone know of on that will allow this?

Sed, VI.... ;)

Qrs, TU.... :-(

Thank you... (i guess)...
Rich
Jul 24 '05 #4
> SeaPlusPlus wrote:
I want to convert large files of prose to xhtml and so I need a way to
remove unwanted line wraps. So, I'm looking for a freebee editor that
has the capability of searching for a single "carriage return/line
feed" or "line feed/carriage return" and removing them. I quess what I
need is an editor that allows non-printable characters in it's search
strings. Does anyone know of on that will allow this?

Del Ferguson wrote:
Try NoteTab Pro trial version set for no-wrap to convert the text to
XHTML and see if that works for you. You should easily see any other
discrepancies in the browser view. Also, any "off-spring" of the
original UNIX "vi" should allow you to search for (and substitute)
special characters. It just requires a knowledge of control
characters. The second suggested is not recommended unless you are
truly adventurous.


Wrap and no-wrap is only how the editor "presents" the text...
NoteTab'll still wrap a line that contains the cr/lf or lf/cr or
whatever terminates the line... the question is... will NoteTab search
for special characters ? ? ? I thought not ! ! !

<facetious>
So, I guess I need to get the VT100 out of the cellar and fire up
RSX11/M in order to use EDT or EDN which worked for me in 1979 because I
can't find a replacement in 2005... AAARRRGGGHHHH ! ! !
</facetious>

Thank you...

Rich
Jul 24 '05 #5
Els
SeaPlusPlus wrote:
SeaPlusPlus wrote:

I want to convert large files of prose to xhtml and so I need a way to
remove unwanted line wraps. So, I'm looking for a freebee editor that
has the capability of searching for a single "carriage return/line
feed" or "line feed/carriage return" and removing them. I quess what I
need is an editor that allows non-printable characters in it's search
strings. Does anyone know of on that will allow this?


Del Ferguson wrote:
Try NoteTab Pro trial version set for no-wrap to convert the text to
XHTML and see if that works for you. You should easily see any other
discrepancies in the browser view. Also, any "off-spring" of the
original UNIX "vi" should allow you to search for (and substitute)
special characters. It just requires a knowledge of control
characters. The second suggested is not recommended unless you are
truly adventurous.


Wrap and no-wrap is only how the editor "presents" the text...
NoteTab'll still wrap a line that contains the cr/lf or lf/cr or
whatever terminates the line... the question is... will NoteTab search
for special characters ? ? ? I thought not ! ! !

<facetious>
So, I guess I need to get the VT100 out of the cellar and fire up
RSX11/M in order to use EDT or EDN which worked for me in 1979 because I
can't find a replacement in 2005... AAARRRGGGHHHH ! ! !
</facetious>


No need. TextPad (free evaluation version)can search and replace
line-breaks, tabs, spaces. Just need to tick the box that says
'regular expression'.

As for wrapping in the editor, TextPad can wrap the lines or leave
them run 'off the screen', it's your choice.

--
Els http://locusmeus.com/
Sonhos vem. Sonhos v„o. O resto ť imperfeito.
- Renato Russo -
Now playing: The Trammps - Ten Percent
Jul 24 '05 #6
In article <1114788162.bb3 a5b381a3b298cf7 0ea6acc336deb1@ teranews>,
SeaPlusPlus <Se*********@ho tmail.com> wrote:
I want to convert large files of prose to xhtml and so I need a way to
remove unwanted line wraps. So, I'm looking for a freebee editor that
has the capability of searching for a single "carriage return/line feed"
or "line feed/carriage return" and removing them. I quess what I need is
an editor that allows non-printable characters in it's search strings.

Does anyone know of on that will allow this?


Why is this necessary are part of converting the files to xhtml?
--
= Eric Bustad, Norwegian bachelor programmer
Jul 24 '05 #7
> In article <1114788162.bb3 a5b381a3b298cf7 0ea6acc336deb1@ teranews>,
SeaPlusPlus <Se*********@ho tmail.com> wrote:
I want to convert large files of prose to xhtml and so I need a way to
remove unwanted line wraps. So, I'm looking for a freebee editor that
has the capability of searching for a single "carriage return/line feed"
or "line feed/carriage return" and removing them. I quess what I need is
an editor that allows non-printable characters in it's search strings. Does anyone know of on that will allow this?


Eric Kenneth Bustad wrote:
Why is this necessary are part of converting the files to xhtml?


I needed to reference xhtml to pose an on-topic question. If I didn't
say that, you (the 'anal' police) would be posting that my query is
off-topic and I should be posting to some 'editor' newsgroup.

OBTW, why do you have 'is and 'are' in the same sentence?

Thank you... (i think)

Rich
Jul 24 '05 #8
SeaPlusPlus wrote:
SeaPlusPlus wrote:


I want to convert large files of prose to xhtml and so I need a way
to remove unwanted line wraps. So, I'm looking for a freebee editor
that has the capability of searching for a single "carriage
return/line feed" or "line feed/carriage return" and removing them. I
quess what I need is an editor that allows non-printable characters
in it's search strings.
Does anyone know of on that will allow this?

Del Ferguson wrote:
Try NoteTab Pro trial version set for no-wrap to convert the text to
XHTML and see if that works for you. You should easily see any other
discrepancies in the browser view. Also, any "off-spring" of the
original UNIX "vi" should allow you to search for (and substitute)
special characters. It just requires a knowledge of control
characters. The second suggested is not recommended unless you are
truly adventurous.

Wrap and no-wrap is only how the editor "presents" the text...
NoteTab'll still wrap a line that contains the cr/lf or lf/cr or
whatever terminates the line... the question is... will NoteTab search
for special characters ? ? ? I thought not ! ! !

<facetious>
So, I guess I need to get the VT100 out of the cellar and fire up
RSX11/M in order to use EDT or EDN which worked for me in 1979 because I
can't find a replacement in 2005... AAARRRGGGHHHH ! ! !
</facetious>

Thank you...

Rich


Rich,

If you no-wrap text and convert to XHTML in NoteTab, the special
character conversions are obvious; however, if you want to do it the
"hard" way, I can send you DOS versions of vi, ed, sed, etc. Works
for me. You are right, NoteTab does not search special characters.
Why bother if XHTML will do all the work? Are you assuming your
text is screwed up?

Cheers,

Del Ferguson
Jul 24 '05 #9
in comp.infosystem s.www.authoring.html, SeaPlusPlus wrote:
In article <1114788162.bb3 a5b381a3b298cf7 0ea6acc336deb1@ teranews>,
SeaPlusPlus <Se*********@ho tmail.com> wrote:
I want to convert large files of prose to xhtml and so I need a way to
remove unwanted line wraps.
Why they are unwanted?
So, I'm looking for a freebee editor that
has the capability of searching for a single "carriage return/line feed"
or "line feed/carriage return" and removing them. I quess what I need is
an editor that allows non-printable characters in it's search strings.

Emacs will do that... This question was asked in alt.html last week...
Does anyone know of on that will allow this?


Eric Kenneth Bustad wrote:
Why is this necessary are part of converting the files to xhtml?


I needed to reference xhtml to pose an on-topic question. If I didn't
say that, you (the 'anal' police) would be posting that my query is
off-topic and I should be posting to some 'editor' newsgroup.


Well, why didn't you? As there is not much use remove linefeeds when
converting to xhtml. Or any other html...
OBTW, why do you have 'is and 'are' in the same sentence?


plonk.

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Utrecht, NL.
Support me, buy Opera:
https://secure.bmtmicro.com/opera/bu...tml?AID=882173
Jul 24 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
4376
by: Mike Kamermans | last post by:
I hope someone can help me, because what I'm going through at the moment trying to edit XML documents is enough to make me want to never edit XML again. I'm looking for an XML editor that has a few features that you'd expect in any editor, except nearly none of them seem to have: 1 - Search and repalce with Regular Expressions. 2 - ...
10
2556
by: AnnMarie | last post by:
What is the best editor to use for JavaScript?
3
5019
by: mark4asp | last post by:
Hello Guys, I find myself having to format a lot of subscript & superscript characters from text which is being HTMLed. This was originally OCRed but the OCRed work was not saved as HTML due to the vast amount of garbage HTML tags written to preserve formatting. I am looking for either: (a) a tool that removes nearly ALL formatting The...
3
8777
by: jj | last post by:
Hi NG I have a form, where I can activate the search and replace dialogbox when pressing a button. My problem is that the dialogbox opens with the default that it should search for full match only, and I want it to open with default "a part of field". The VBA used is:
0
3281
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool including SourceOffSite, SourceAnyWhere and VSS Remoting This article makes a detailed comparison among SourceAnyWhere, SourceOffSite, VSS Remoting and possible others.
63
3912
by: John Salerno | last post by:
I know there's a request for a good IDE at least once a week on the ng, but hopefully this question is a little different. I'm looking for suggestions for a good cross-platform text editor (which the features for coding, such as syntax highlighting, etc.) but not a full IDE with all the fancy jazz (GUI developer, UML diagrams, etc.). ...
1
2893
by: coolami4u | last post by:
I need a program that simulates the search-and-replace operation in a text editor. The program is to have only three function calls in main. The first function prompts the user to type a string of fewer than 80 characters. It then prompts the user to type the search-substring of 10 or fewer characters. Finally, it prompts the user to type the...
9
2627
by: maya | last post by:
hi, I'm getting sick and tired of all the problems I've been having w/HomeSite, it crashes all the time, I get these weird errors with code-nos. on them, etc.. it's just not very stable.. my Manager just gave me a copy we have here of HS 5.5, same thing, I get same errors as with previous version.. I was wondering, is there a free HTML...
10
9800
by: Greg Lovern | last post by:
I have a very large html table created by MS Word, saved as it's "Web Page, Filtered" file type. Every html table cell has lots of formatting tags. Most of the file size is that formatting. Is there a free or inexpensive editor that can quickly remove all formatting to minimize the file size? I tried a few freeware editors, but wasn't...
0
7705
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7796
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8074
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6424
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectóplanning, coding, testing, and deploymentówithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5294
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3734
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3739
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2223
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1044
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.