I have 2 input tag like below
<input name="daily" value="Next" title="Next"
class="btn btn-link" type="submit"/>
<input type="submit" name="daily" value="Next" title="Next"
class="btn btn-link"/>
I am using
<input[^>]*\s*type\s*=\s*('|"|)Submit\s*(\1)[^>]*\s*value\s*=('|"|)Next\s*(\3)[^>]*>
But only one is match as per above regex.
I want the regex which match ignoring the position of type or value attribute.