Jay

Jay

  • NA
  • 2
  • 0

Extract particular data from a css file

Feb 12 2009 6:50 PM
Ok, here is the issue.

I have a xyz.css file which I read using the streamreader.

the file has text in the form

.Addfont { ......
.GridLayout {......
a.Master Layout {......

Now I need to extract the text between the '.' and '{'
In this case it would be
Addfont
GridLayout
Master Layout

How should I go about this.... I tried using the readline() method but it didn't work for the '{'

Please help me

Thank you
gladiator_jai is online now Add to gladiator_jai's Reputation(Rate)   Edit/Delete Message

Answers (1)