hi all,
Good evening..
i am having an file in that file i want to split the ":" colon . the words are split after and before colon . after the colon split i have i have an example given like this
input
Rule1.1.1 : this is rule one
EG. Ramakalmedu Located at a distance of 16 km from Nedumkandam
Rule1.1.2 : this is rule two
EG.
word starting with a in
java
Rule1.1.4 : this is rule three
EG. word starting with a in java
Rule1.3.1 : this is rule four
EG. Summer is the season to visit Mumbai
Rule1.3.9 : this is rule five
EG. It is operational only from march to september
here rule_no represents Rule1.1.1, Rule1.1.2 etc.. and rule represents the sentences
i am getting an error in this rule.
can anny one tell how to get the rule number and rule alone, leaving the EG.