rename 's/searchpattern/replacepattern/' fileglob
Use -n option to do a dry run.
-n
Not available as standard in all Linux flavors.