View Single Post
  #2  
Old 12th March 2011, 10:37
rodobrist rodobrist is offline
Member
 
Join Date: Sep 2010
Posts: 30
Thanks: 10
Thanked 2 Times in 2 Posts
Default

I could probably do it in php, i dont know if this helps you

but isnt it simply

step 1 get text inbetween for and *** via regex /for[^C]+(\*\*\*)/
(the capital C is to stop the next Current)

step 2 get text between first space and second space /\s[a-z0-9]+\s/

step 3 trim

As i said, could give you exact commands for php, but im no linux scripter
Reply With Quote