Online tool for repetitive text operations
Hi guys, I just wanted to hear you opinion on this topic.
I recently needed to convert a long list looking like this:
to this format:
I could not find anything from a quick Google search that would help me except for programs that needed to be downloaded. I decided to make an online tool for doing different kind of text operations.
You can check it out at http://www.textmacro.com
I would like to know if I am the only one who has needed such a tool or if you know about other existing tools?
I use my Linux terminal to do it. I simply use
Say I have a ton of PHP files, and I wanted to find a single word or sequence of words.
The * is a wild card. It represents what to look for. It my example it looks for anything ending with .php You can put things before the * and it will look for anything starting with what you specify and ending in anything One example would be hidden files. Hidden files start with a period so I could do.
-r recursive (will search folder and subfolders)
-i case insensitive (ignores UPPERCASE or lowercase)
-l list only (displays names of files found only)
to find and replace
The above line would replace all instances of 'this' with 'that'
This is one huge reason I really like Linux. There are so many regex options to use with the
You can replace all lower case instance to upper case, replaces spaces with underscores, etc. All using one line.
You can build long complicated regexes to do all kinds of things.
I think pHP code wil help you out for the purpose. Best to discuss with a programmer (dot net,Php) he will guide you.
|All times are GMT +1. The time now is 10:14 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.