-------------------------------------------------------------------------------------------------------------------------
*/ -->
---------------------------------------------------------------------------
GREEN COMMENT REMOVE IN NOTEPAD++
---------------------------------------------------------------------------
1) CTRL+F
2) GO TO FIND AND REPLACE IN NOTEPAD++
3) AND TYPE /\*.*?\*/ OR TYPE
4) CLICK RADIO BUTTON REGULAR EXPRESSION
5) CLICK CHECK BOX MATCHES NEW LINE
6)FOR REMOVE HTML COMMENTS <!--([^-]|-[^-])*-->
6.1)FOR REMOVE HTML COMMENTS USE THIS ^[#;].*
WHEN CODE STARTS WITH #Varien_Profiler::enable();
7)FOR REMOVE GREEN JAVA COMMENTS (.*)//(.*)
============================================================================
COPY TEXT DROP DOWN MENU
Steps:
1. Open site.
2. Now you need to get HTML source of dropdown list:
For Firefox with Firebug:
Right Click on HTML Dropdownlist, Select Inspect Element and In firebug, Right click and click copy InnerHTML option.
For IE8+:
Press F12, click arrow sign in developer tools and Select Dropdownlist. Now you will see html source is selected in developer tools, right click and click copy InnerHTML option.
For Chrome:
Right Click on HTML Dropdownlist, Select Inspect Element and In Developer Tools, you will see html source is selected. Right click and click Copy as HTML option.
3. Paste HTML source in Notepad++
4. Remove Select tag from top and bottom if exists
5. Put cursor at top of code and Press Ctrl + F
6. Go to Replace Tab and enter following info:
Find What:
<option[^>]*>([^<]*)</option>
Replace With:
\1\n
Select Regular Expression as Search Mode and click on Replace All. If options are already in new line then no need to use \n in Replace With option.
You will get all options in plain text. If there are a lot of options, It will save bunch of time.
-------------------------------------------------------------------------------------------------------------------------
0 comments:
Post a Comment