blm's reply looks correct. But you should as well observe that your regexp in your first example seems wrong. Try /<br\s*\/?>/ instead. You forgot the * after the \s. I'd add a ? after the \/ because it might be missing in a <br> tag.
-- You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/greasemonkey-users. For more options, visit https://groups.google.com/groups/opt_out.
