I need help with regualr expression. Despite reading on Patter.DOTALL and Pattern.MULTILINE, Iam unable to use them in real examples. For examples , say i have an input file "
" How can Pattern.DOTALL and Pattern.MULTILINE act differently for me? Basically I need to know the ...
Hi there, I've a String which contains 2 known tags and a bunch of data on a multilines in-between (those data and number of lines are un-known (can be different everytime). I'm using a regex to find the data and replace it. BUT would like to find a more elegant way of doing it. Here is example of my String: