From: Adam Akhtar Date: 2008-03-17T08:37:42+09:00 Subject: Re: returning text between two markers without markers inclu great, closer to solving my problem. Though i realised that this regex wouldnt work if the marked text was split by a newline so i went away and modified it so that if it were split it would still be picked up. I did it with this \({2}(?s)(.*?)(?s)\){2} Im wondeirng if theres a neater way of sayinig "ignore any newlines that split the marked text up" is there an operator that tells it to ignore newlines and is the above robust? Thanks so much for the help so far. -- Posted via http://www.ruby-forum.com/.