I'm new in regular expression using this website but facing a problem. Scenario is there are some elements in angle brackets and every element has an attribute, After every element a period (.)
symbol is given like this.
<a value = "GoodVal">.<b value = "BadVal" size = "10">.<c height = "auto">.<d size = "3">.<e strength = "200%">.<f a1 = "1" a2 = "2" a3 = "3"></f></e></d></c></b></a>
My Expression is:<a.*?>\.<b.*?>\.<d.*?>
but why its consider as a matched. In sentence after b element
c element
is written not d
element.