1 2 3 4 5 6 7 8 | Find Regular Expression: [$]\(\'input\[id[$]=\\\'{:i}\\\'\]\'\)\.focus\(\); Matches string: onfocus="$('input[id$=\'btnName\']').focus();" Replace: focusCtrl(\'\1\'); |
1 2 3 4 5 6 7 8 | Find Regular Expression: [$]\(\"input\[id[$]=\'{:i}\'\]\"\)\.focus\(\); Test match string: $(function () { $("input[id$='btnName']").focus(); }); Replace: focusCtrl(\'\1\'); |
1 2 3 4 5 6 7 8 9 10 11 | Find Regular Expression: return process\(\'{:i}\', \'{:i}\'\); Test match string: return process('txtNameID', 'txtName'); Replace: return process(\'\1\', \'\2\', \'<%= NameID %>\'); Result: return process('txtNameID', 'txtName', '<%= NameID %>'); |
1 2 3 4 5 6 7 8 | Find Regular Expression: alt=\"Validation Error\" title=\"[^"]+\" src="/_layouts/images/EXCLAIM.GIF" Test match string: <img alt="Validation Error" title="Name is required" src="/_layouts/images/EXCLAIM.GIF" /> Replace: onprerender="Validator_PreRender" runat="server" |
1 2 3 4 5 6 7 8 | Find Regular Expression: alt=\"Validation Error\" title=\"[^"]+\" src="/_layouts/images/EXCLAIM.GIF" Test match string: <img alt="Validation Error" title="Name is required" src="/_layouts/images/EXCLAIM.GIF" /> Replace: onprerender="Validator_PreRender" runat="server" |
1 2 3 4 5 6 7 8 | Find Regular Expression: \<img alt=\"Validation Error\" title=\"[^"]+\" src="/_layouts/images/EXCLAIM.GIF" /\>[ ]* Test match string: <img alt="Validation Error" title="Name is required" src="/_layouts/images/EXCLAIM.GIF" /> Replace: <img onprerender="Validator_PreRender" runat="server" /> |
1 2 3 4 5 6 7 8 | Find Regular Expression: \<span class="ms-error"\>\<img src="/_layouts/images/EXCLAIM.GIF" /\>\</span\>[ ]* Test match string: <img alt="Validation Error" title="Name is required" src="/_layouts/images/EXCLAIM.GIF" /> Replace: <img alt="Validation Error" title="" src="/_layouts/images/EXCLAIM.GIF" /> |
No comments:
Post a Comment