I want to search some string in a file,that string have special head and tail,and it's body can have any random character.There maybe have many string like that in the file. How do I define pattern using regexp? thanx.
scjp 1.4<br />challenge haven't limit!
posted 12 years ago
add: I use jakata regexp1.3 ,and if have some text as follows: asdfasdfasf<Quote>alskdjfpaoist;aoisejt</quote>aslidjfasi<Quote>asldkaoisent;aosiet;aioset</quote>a;lsidjfa;iset and I want find all text in <Quote> and <quote>,How do I wirte that pattern? please help me,thanx.