Search found 9 matches

by hoachen
Fri May 30, 2014 8:59 am
Forum: General
Topic: Split the text to column
Replies: 0
Views: 2067

Split the text to column

I have a text file that contains all the text like below. My question is how can I break them into column? I want a column with the tablename where contains "abcdefg011" and than all the other text will go to other column. All the new row begin with# and end with#. and all the "tablen...
by hoachen
Sun Apr 07, 2013 1:31 pm
Forum: General
Topic: find the first sentence and remove the rest
Replies: 6
Views: 1069

bbadmin wrote:In that case, try searching for:

^(.{X}).+

(where X is the width of the column)

and replacing it with:

$1

*****************************************
This is will work!! Thank you so much!
by hoachen
Fri Apr 05, 2013 7:25 pm
Forum: General
Topic: find the first sentence and remove the rest
Replies: 6
Views: 1069

the first column and second column are seperate by a fix spacing. I know I can use \t to seperate them, but I only one the first column only. I need the reg expr to remove all after the first column ending with space.
by hoachen
Fri Apr 05, 2013 4:43 pm
Forum: General
Topic: find the first sentence and remove the rest
Replies: 6
Views: 1069

Column1 Column2 Column3 Column4
12Akd something I dont want Other than first string
dfl6AB something I dont want Other than first string
U9AO something I dont want Other than first string


I only want column1
by hoachen
Fri Apr 05, 2013 3:13 pm
Forum: General
Topic: find the first sentence and remove the rest
Replies: 6
Views: 1069

find the first sentence and remove the rest

I have a text file that contrains the data that I need, but I only the first sentense that i will need. I know i can do it using excel but, when the data like 56E6 excel will change it to exponent that is why I need to use reg expression. Data look like: 12Akd something I dont want Other than first ...
by hoachen
Tue Jul 03, 2012 12:36 pm
Forum: General
Topic: Regular expression vertical to horizontal
Replies: 1
Views: 415

Regular expression vertical to horizontal

Is there a way to have this expression? The data are horizontal. For example SomeData A 1 2 3 5 6 8 AlittleData B 2 41 6 8 9 0 MoreData C 7 8 7 8 0 9 FewData D 4 5 7 98 0 Currently, I can do one line at a time to make them vertical like: SomeData A 1 2 3 5 6 8 Is there an expression to do all at onc...
by hoachen
Tue May 22, 2012 9:24 pm
Forum: General
Topic: RegEx to look for word
Replies: 5
Views: 763

I might left out other two items on the description part, but not confuse as you thought.

Never mind. I figure it out.

Thanks!
by hoachen
Tue May 22, 2012 8:44 pm
Forum: General
Topic: RegEx to look for word
Replies: 5
Views: 763

I need the entire line.

Capacity: 2090
IP address: 90:400:00
ID: 1234
Status: Good
by hoachen
Tue May 22, 2012 3:56 pm
Forum: General
Topic: RegEx to look for word
Replies: 5
Views: 763

RegEx to look for word

I am trying to have a regular expression to find and delete those I don't need it. For example. Summary of this topic. Capacity: 2090 IP address: 90:400:00 Subnet mask: 255.0.555 Status: Good ID: 1233 I only want to the whole line for capacity, IP address and I don't need the rest. But, after the co...