
hydpm
User
Jul 22, 2008, 12:30 PM
Post #1 of 2
(1736 views)
|
|
Matching an Expression in HTML View source
|
Can't Post
|
|
Hi, In my View source of HTML page, the content i need to match is like below: I am reading the content line by line but i need to match the whole lines below in one single expression. ------------------------------------------------------------------------------------------------------------ <input type="checkbox" name="selectedEntityPKs" value="112" onclick="shiftCheckUpdateByName('allbox', name, value, event)"> </td> <td> T5m VVC175_V3.5 -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- I am trying to match as below: /<input type="checkbox" name="selectedEntityPKs" value="(\d+)" onclick="shiftCheckUpdateByName\('allbox', name, value, event\)">/ The above matching till the first line i.e <input type="checkbox" name="selectedEntityPKs" value="112" onclick="shiftCheckUpdateByName('allbox', name, value, event)"> but there are End of lines are there after this line which i am trying to match with \n which is not working. Can any one help me in matching the whole content in the above till T5m VVC175_V3.5.
|