View Single Post
  #1 (permalink)  
Old 04-23-2008, 02:10 AM
hiklior hiklior is offline
Member
 
Join Date: Apr 2008
Posts: 9
hiklior is on a distinguished road
Regular Expression Challange
i need to creat a little regular expression here are the conditions, I know i looks weired but this is what i need.
Any help will be appreciated
First, i need to find 35 consecutive zeros(00000000000000000000000000000000000) from a text file and they could be more than one place. If i find them i need 9th 10th and 11th position value and then put a space then i need 16th and 17th position value and then a space and then 18th and 19th position value and then put a space and then those 35 zeros.
Example
11135781222111122330000000000000000000000000000000 00000
Output should be
222 22 33 00000000000000000000000000000000000

I hope this makes sense
Reply With Quote
Sponsored Links