Replace in Clipboard is an application which monitors clipboard usage and test strings copied into clipboard against predefined patterns. In case the clipboard string matches the pattern, a replacement is offered via system tray icon tool tip. User may accept replacement by clicking the tip, or reject it by ignoring the tip.
For example, “C:\Inetpub\wwwroot\MyDirectory\Sample.jpg” string is put into clipboard and the utility would suggest a replacement to “http://localhost/MyDirectory/Sample.jpg“:
The patterns are defined in accompanying .ini file (should reside in the same directory as the utility application) and are flexible to configure:
- regular expressions are based on ATL syntax
- “Ignore Case” and “Global Match” options are supported
- patterns may defined to be recursive
Below is an example of configuration file with comments:
[http] // pattern identifier “http”
required=global // required identifiers to activate pattern; “global” means top level pattern
recourse=dash-to-slash-needed // patterns to apply recoursively on replaced text
find=^C\:\\Inetpub\\wwwroot\\{.+}$ // find pattern
replace=http://localhost/\1 // replace pattern, \1 stands for text inside first {…} brackets in find pattern
ignorecase=1 // ignore case or not
globalmatch=0 // global match means stop at first occurrence
;multiline=0 // multiline is not supported yet
[dash-to-slash] //
required=dash-to-slash-needed // this pattern is only applied on [http] replaced substrings
recourse=
find=\\
replace=/
ignorecase=1
globalmatch=1
;multiline=0
The application does not required installation/uninstallation.
Application Name: Alax.Info Replace in Clipboard
Latest Version: 1.0.0
Download Link: Replace in Clipboard 1.0.0.58
[…] Alax.Info Replace in Clipboard updates: […]