Wednesday, 15 January 2014

java - Fetch string between long text area -



java - Fetch string between long text area -

i have long text area below.

most recent role information: ================================================== job title : national practice manager company name : nec time in role : 0 years 0 months new workforce :

i need fetch value of job tile (national practice manager) , company name (nec) above text area. tried using indexof. location of job tile , company name not same. can please help parse string long text area.

i utilize regexp matching groups:

job title\w+:\w(.*)

java string parsing

No comments:

Post a Comment