Page 1 of 1

how to remove spaces before a line

Posted: Sat Dec 18, 2010 12:54 pm
by mashhood
i have a text like this
1 i am mashhood.
2 who are you?
3 what is this.
4 ok bye now.

i want to get list without spaces and numbers like this>>>


i am mashhood.
who are you?
what is this?
ok bye now.

how can i get this space removed and number removed lines???

kindly guide
thanks in advance

Posted: Sat Dec 18, 2010 10:50 pm
by Fool4UAnyway
any integer number = \d+
all spaces and tabs = \s+

start of the line is "after the previous line", so after a newline character (sequence): \r\n

So, you could try this.

Find:
\r\n\d+\s+

Replace: (leave empty)