# Find and replace

**URL:** <https://forum.kirupa.com/t/find-and-replace/144109>\
**Category:** Uncategorized\
**Created:** [April 11, 2005, 9:22pm UTC](https://forum.kirupa.com/t/find-and-replace/144109 "2005-04-11T21:22:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![abcdefg](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@abcdefg](https://forum.kirupa.com/u/abcdefg)\
**Post date:** [April 11, 2005, 9:22pm UTC](https://forum.kirupa.com/t/find-and-replace/144109/1 "2005-04-11T21:22:22Z")

</div>

I’m not sure what I should be searching for :puzzled:

I need to chop off whatever is after the last . in a file extension and replace it with jpg.

So if the file name was dave.gif I need to convert it to dave.jpg

As always thanks for any links, code, etc.

D
