Hello,
I need a regular expression to detect a span-element where the order of id and class doesn´t matter. The name of the class is always the same, the id is always a fixed number of digits, for example:
<span class="className" id="123">
or
<span id="321" class="className" >
My approach for a regular expression in java was:
String pattern = "<span class=\"className\" id=\"\\d*\">";
but so i can get only one version. Can sombody help?
Thanks, hansa