Simple Regular Expression on Image/CID Tag in PHP

I need to strip the CID from image SRC and ALT tags in HTML content on all occurances in file

It should handle " and ' as a qualifier

<img width=514 height=129 style='width:5.3541in;height:1.3437in' id="Billede_x0020_2" src="cid:[login to view URL]@[login to view URL]" alt="cid:[login to view URL]@[login to view URL]">

Should be

<img width=514 height=129 style='width:5.3541in;height:1.3437in' id="Billede_x0020_2" src="[login to view URL]" alt="[login to view URL]">

I have a file of many occurances i need to replace all occurances

An example file is attached

Taidot: HTML, PHP, Regular Expressions

Näytä lisää: sms message regular expression php, convert links clickable regular expression php, php regular expression extract href, php regular expression img src width, extracting information website using regular expression php, regular expression find image url, regular expression image url, php regular expression extract, regular expression extract image src, img src extractor php regular expression, online php regular expression creator, regular expression php extract page, calling image img tag php file, php regular expression extract img src, php regular expression extract img, image upload show php mysql simple code, regular expression extract contact details php, php regular expression valid image size

Tietoa työnantajasta:
( 4 arvostelua ) Vipperød, Denmark

Projektin tunnus: #17759496

Myönnetty käyttäjälle:


Hello I will fix it for you Thanks

$35 USD 1 päivässä
(114 Arvostelua)

6 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


Hello Sir, We are team of experts developers We have more than 10 year's experience. We read your project description and We are happy to work on this project also we are ready to discuss the project thank you I n Lisää

$50 USD 2 päivässä
(43 arvostelua)

Dear sir, I'm very interested for this regular expression script project, I have 4+ Year of experience in this Field & I can surely do this project, I work with My Experienced Team who always looking for suc Lisää

$50 USD 3 päivässä
(20 arvostelua)

Hi, I have read through your job descriptions, and I understand all of the requirements. I am applying because I believe that I have the required skill set to complete your project. I have been working as a PHP deve Lisää

$10 USD 1 päivässä
(13 arvostelua)

Hi, Yes, I have reviewed the screen shot. Can please share me all the details regarding you file. Please explain me all the things in details. Lets discuss and looking forward. Regards(s).

$30 USD 1 päivässä
(3 arvostelua)
$13 USD 1 päivässä
(0 arvostelua)