JSFiddle - React, Tailwind, and code Playground

by Jan Hjørdie

JavaScript

var url = "xxdata:imagexx";
if (/data:image/.test(url))
{
	alert();
}