Script Wizard allows you to create a script for exctracting a substring without having to write its code.
To generate script you should select the part of the text you want to extract and click the "Generate Script" button. The program will generate some script and show its result at the bottom of the window. If this result does not coincide with the substring you wanted to extract, you need to change the script parameters by clicking "Set Script Parameters" button. In the "Predefined Script" window you can change the parameters of the script functions, add new functions, remove the ones you don't need, duplicate the existing function and change the order in which these functions are executed.
To change the parameters of the script functions, select function and click "Edit" button.
| Function Name | Description & Parameters |
|---|---|
| Add_String_At_The_Beginning |
Adds a specified string to the beginning of the input string.
Parameters:
• strInput: The original string • strPrefix: The string to add at the beginning |
| Add_String_To_The_End |
Appends a specified string to the end of the input string.
Parameters:
• strInput: The original string • strSuffix: The string to add at the end |
| Download_URL |
Downloads content from a specified URL.
Parameters:
• url: The URL to download content from |
| Extract_Email_Addresses |
Extracts email addresses from a string using regular expression pattern matching.
Parameters:
• strInput: The string to search for email addresses • Returns: Array of email addresses found |
| Extract_Phone_Numbers |
Extracts phone numbers from a string using regular expression pattern matching.
Parameters:
• strInput: The string to search for phone numbers • Returns: Array of phone numbers found |
| Left_String |
Extracts substring from the first character up to the specified search string.
Parameters:
• strInput: The original string • strSearchFor: The delimiter string • strReverseSearch: Search direction 0 = search from beginning 1 = search from end |
| Replace_String |
Replaces all occurrences of a substring with another string.
Parameters:
• strInput: The original string • strFindWhat: Substring to find • strReplaceWith: Replacement string |
| Replace_String_RegEx |
Replaces strings matching a regular expression pattern.
Parameters:
• strInput: The original string • pattern: Regular expression pattern • replacement: Replacement string |
| Right_String |
Extracts substring from the specified search string to the end.
Parameters:
• strInput: The original string • strSearchFor: The delimiter string • strReverseSearch: Search direction 0 = search from beginning 1 = search from end |
| Split_String |
Extracts a specific item from a delimited string array.
Parameters:
• strInput: The original string • strDelimiter: Character(s) to split by • strItemIndex: Index of item to extract (0-based) |
| Strip_HTML_Tags |
Removes all HTML tags from a string.
Parameters:
• strInput: The HTML string to clean |
| Sub_String |
Extracts substring between two specified delimiters.
Parameters:
• strInput: The original string • strStartSearchFor: Starting delimiter • strEndSearchFor: Ending delimiter • strReverseSearch: Search direction 0 = search from beginning 1 = search from end |
| Sub_String_RegEx |
Extracts substring using regular expression pattern.
Parameters:
• strInput: The original string • strPattern: Regular expression pattern |
| Trim_String |
Removes specified characters from both ends of a string.
Parameters:
• strInput: The original string • strSearchFor: Characters to remove |
You can create your own script. To do it, you should click the "Edit Script..." button. You will see the "Script Editor" window where you can create and edit scripts.