Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Paste Tab and Return characters into text fields' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Paste Tab and Return characters into text fields
Authored by: boxcarl on Aug 31, '06 11:20:09AM

This is a technique I've been using a lot as a poor man's regexp.

For example let's say you have a list of words separated by spaces, and you want to make it separated by line breaks. Well, that's easy enough, just find and replace all for the space character to a line break.

OK, well what if you have that same text, but now you realize you want a star in front of every line of text? Simple, select from the end of one line to the beginning of another, copy that and put it into the find and replace fields, then at the end of the replace field, add a star. Go back and add a star to the first line and you're all set.

Other useful functions: changing a bunch of text so that there are two line breaks between paragraphs instead of one, making sure there's only one space between words instead of two, reformatting an HTML list to match some template you've made (I often change iPhoto's output page to use CSS instead of tables)…



[ Reply to This | # ]