Basically, the RewriteCond line is the same for all redirects. For the RewriteRule, you put RewriteRule followed by a space, followed by the bad URL followed by a space, followed by the good URL, followed by a question mark (no space before the question mark) followed by a space and then the [R=301,NE,L] part, which is always the same.
Note that in the part right after RewriteRule (the bad URL) has to have a ^ and the beginning and a $ at the end and dots and slashes in the URL must be escaped with a preceding backslash:
So
would be written as
The URL you're redirecting to can be written as is.
If you have a bunch or them, you only need one RewriteCond line at the top. Here is an example from my site (developed as a result of using the LogPageNotFound plugin):
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^MODX-revolution\.html$ /modx-revolution.html? [R=301,NE,L]
RewriteRule ^Modx\.html$ /modx.html? [R=301,NE,L]
RewriteRule ^MODx\.html$ /modx.html? [R=301,NE,L]
RewriteRule ^modx-faq\.html$ /modx-faqs.html? [R=301,NE,L]
RewriteRule ^modx-newbie-\.html$ /modx-newbie-faq.html? [R=301,NE,L]
RewriteRule ^snippet-tutorials\.html$ /package-tutorials.html? [R=301,NE,L]
RewriteRule ^spform-tutorial\.html$ /spform-snippet-tutorial.html? [R=301,NE,L]
RewriteRule ^modx-snippet-parameters\.html$ /modx-snippet-properties.html? [R=301,NE,L]
RewriteRule ^emailresource-tutorial\.html$ /emailresource-plugin-tutorial.html? [R=301,NE,L]
RewriteRule ^getdynadescription-tutorial\.html$ /getdynadescription-snippet-tutorial.html? [R=301,NE,L]
RewriteRule ^CopyingFiles\.html$ /copyingfiles.html? [R=301,NE,L]
RewriteRule ^modxcms.com[/|\/]forums$ http://forums.modx.com? [R=301,NE,L]