posted 14 years ago
Predefined Character Classes
. Any character (may or may not match line terminators)
I cannot figure out this 'may or may not match line terminators'
I have a regex: "aaa .+?bbb" witch matches
aaa xxxxxx bbb
But it will not match
aaa
xxxxxx
bbb
because of the line breaks.
So what Regex will match the above three lines?
Thanks!
BJ - SCJP and SCWCD
We love Java programming. It is contagious, very cool, and lot of fun. - Peter Coad, Java Design
Crazy Bikes created by m-Power