Not a complete newbie, but I still don't understand everything about Regular expressions. I was trying to use Regex to strip out <p> tags and my first attempt
<p\s*.*>
was so greedy it caught the whole line
<p someAttributes='example'>SomeText</p>
I got it to work with
((.|\s)*?)
This seems like it should be just as greedy, can anyone help me understand why it isnt?
Trying to make this question as language non-specific as possible, but I was doing this with ColdFusion's reReplaceNoCase if it makes a lot of difference.