We have a sponsor who has used this in many of their posts and wonder if there's some MyCode possibility to convertĀ
[image:http://www.example.com/example.jpg]
to
[img]http://www.example.com/example.jpg[/img]
tia
This should do:
Title:
Alternate Image
Short Description:
Alternate image BBCode Syntax
Regular Expression:
\[image:(.*?)\]
Replacement:
<img src="$1" />
Sorry, when the post is displayed, it showed as
[Image: https://example.com/media/wysiwyg/produ...buds-1.jpg]
But upon opening the post in editor, the actual code they're using is:
[url=https://example.com/xiaomi-ydlyej03lm-in-ear-earbuds.html][img=738x469]https://example.com/media/wysiwyg/product10/Xiaomi-YDLYEJ03LM-In-ear-Earbuds-1.jpg[/img][/url]
Image dimensions will vary.
Is this possible with MyCode?