General questions about using TextPad
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
f000ker
- Posts: 16
- Joined: Mon Jan 10, 2005 11:43 pm
Post
by f000ker »
for example i load in a ebook and it takes it and looks for a " " or space
and then sends the word to the next line for example
This is just a example of the next.
this
is
just
a
example
of
the
next.
and so on.

-
Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
-
Contact:
Post
by Bob Hansen »
Search for space
Replace with \n
Hope this was helpful.............good luck,
Bob
-
f000ker
- Posts: 16
- Joined: Mon Jan 10, 2005 11:43 pm
Post
by f000ker »
that works good is there away to do it like every 5th space?
Bob Hansen wrote:Search for space
Replace with \n
-
Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
-
Contact:
Post
by Bob Hansen »
Search for: (([^ ]* ){5})
Replace with \1\n
Starting with this:
one two three four five six seven eight nine ten eleven twelve
Replace All results with this:
one two three four five
six seven eight nine ten
eleven twelve
Rugular Expression with POSIX on.
Hope this was helpful.............good luck,
Bob
-
f000ker
- Posts: 16
- Joined: Mon Jan 10, 2005 11:43 pm
Post
by f000ker »
i hit f8 and top box pasted (([^ ]* ){5})
bottom box pasted \1\n
it tells me cant find expression i have it checked under the prefencres editor posix expression checked ?
what i doing wrong
-
Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
-
Contact:
Post
by Bob Hansen »
Put a checkmark in Regular Expression in the Search/Replace window
Hope this was helpful.............good luck,
Bob
-
f000ker
- Posts: 16
- Joined: Mon Jan 10, 2005 11:43 pm
Post
by f000ker »
thanks that worked
