Freelancer:
SmartChoice Solutions
Vinder
I present the regex and dom versions for review.
Hello, You did ask for a regex expert and well such would hardly ever do this using regex, so I present the dom version which is generally more accurate and also easier to manage and well the proper way to do it. Although you did ask for regex so I also present an optimized version of regex, here I am simply using IF to determine if 'src' is in the match string and if it is match what we need and reconstruct in the replace, well its quite simple to understand now anyway. Thank you.
