September 17th, 2010, 06:21 AM
Eclipse - Search files containing html/jsp tags with arguments starting without "
Thanks in advance. Please let me know on the regex pattern to be used to find all html/jsp tags that have arguments and those arguments dont start with " i.e. double quotes.
See following example:
<img name=abc ........
<img name='myname' .........
In above examples the argument "name"'s value does not start with " (i.e. double quotes). Need to find all lines in the files that have above patterned tags. I tried hard but no luck yet. Also please note that I want to try it from Eclipse, file search.
September 18th, 2010, 08:28 PM
Don't remember which style they use. Guessing something close to PCRE.
That'll find you each tag, not each individual attribute in the tag.