Javascript – Regex to capture classes in an HTML file
I'm trying to create a regular expression to capture all the possible HTML classes of a file. Let's take this content as an example: <html> <body> <div class="bg-secondary-7 -mx-5 p-5 hover:bg-secondary-8"></div> </body> <script> const isTrue = 1 === 1; const…