In UltraEdit, you need to add (?s) to your regular expression so that the dot matches the new line.
I. e., search
(?s)<style type="text/css">.*?</style>
I also made the quantifier lazy ( .*? ), Because otherwise you would match everything from the first <style> to the last </style> in the whole file.
Also keep in mind that this is a broken solution because regular expressions cannot parse HTML reliably, if at all. In UltraEdit, all you have is a scripting language and a parser will be better, but if it works in your case, then fine. Just make sure you don't match more (or less) than you want (think //comment containing a </style> tag ).
source share