1
Answer

Extract particular data from a css file

Jay

Jay

15y
4k
1
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)