Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm a total newb with expressions and looking for a quick way to do this. Trying to delete everything in between the && to TAG

URL GOTO=<SP>Because<SP>I'm<SP>Skinny<SP>Does<SP>NOT<SP>Mean<SP>I<SP>Have<SP>an<SP>Eating<SP>Disorder
share|improve this question

migrated from Feb 23 '10 at 16:04

This question came from our site for professional and enthusiast programmers.

InRe: close votes. I tend to think of regular expressions as a programming topic even in the context of a simple search and replace function. – dmckee Feb 23 '10 at 2:11

Replace this:


with an empty string. That will do it. It also makes sure that "TAG" is a separate word. You should also turn on multiline mode if the line break in your example is not only for formatting, or use:

share|improve this answer

You must log in to answer this question.