I have the following text that is inside of a long string called content.
data-seq="0123abcd"
Previously I was using the following to match characters but I am not sure if the correct way to do this and it does not work for number of characters that are not eight.
var a = content.match(/data-seq="(.{8}).*/)[1]
What I need is for the value of a to set all the characters between the quotes after data-seq and not just eight as in the above.
This is how I would implement it:
This will capture everything between the double quotes.