i'm attempting to parse some xml with java using patterns and matchers with regular expressions.... i have it working fine as i'm just trying to grab the ryan from an element like: <name>ryan</ryan>
the only trouble i'm having is when a name spans more than one line like this:
i cant get any regular expression to pick up either the new-line, carriage-return or anything like that....any ideas how i can do this???
the only trouble i'm having is when a name spans more than one line like this:
Code:
<name>ryan
prestion</name>
i cant get any regular expression to pick up either the new-line, carriage-return or anything like that....any ideas how i can do this???