# Regular expression issues

**URL:** <https://forum.kirupa.com/t/regular-expression-issues/208856>\
**Category:** Uncategorized\
**Created:** [December 3, 2006, 7:08pm UTC](https://forum.kirupa.com/t/regular-expression-issues/208856 "2006-12-03T19:08:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sigepmest37](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@sigepmest37](https://forum.kirupa.com/u/sigepmest37)\
**Post date:** [December 3, 2006, 7:08pm UTC](https://forum.kirupa.com/t/regular-expression-issues/208856/1 "2006-12-03T19:08:48Z")

</div>

Ok here is what I’m attempting to do.

I want to go though HTML code and replace all the

\<img src=“XXX”\>

with

\<img src="\<a href="#"\>XXX\</a\>"\>

i need the src names to become links.

Is regular expressions the answer and if so what would it be?

Thanks guys
