hi

I want to create a custom code and read the attributes.

[img src="img.png" width="11" alt="adsfafsd"]

how would i create a regex that recognizes it and gives me the attributes in an array?

Thanks in advance.

Peanuts