what is the command should i use.

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
manalnor
Posts: 2
Joined: Sun Apr 04, 2010 12:15 am

what is the command should i use.

Post by manalnor »

Hello dear sir,

if we have text with multi-lines

for example :-

Code: Select all

i'm line one
i'm link two
i'm link three
how to add automatically character such as # or any
to the start and the end of each line so it be like this

Code: Select all

#i'm line one#
#i'm link two#
#i'm link three#
i know it is in regualer expression i guess

can you let me know how do it it

thanks in advance
manalnor
Posts: 2
Joined: Sun Apr 04, 2010 12:15 am

Re: what is the command should i use.

Post by manalnor »

Also what about auto-numbering

on the above example

Code: Select all

i'm line one
i'm link two
i'm link three
how to make it automatically like

Code: Select all

1 i'm line one
2 i'm link two
3 i'm link three
thnx
User avatar
notuo
Posts: 258
Joined: Sat Jul 09, 2005 8:07 pm
Location: Tlalpan, Mexico City, Mexico

Re: what is the command should i use.

Post by notuo »

User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: what is the command should i use.

Post by Karlis »

Some of these are doable (like adding # to every line) with regular expressions, but numbering is not possible automatically.
Karlis Blumentals
Blumentals Software
www.blumentals.net
Post Reply