Skip to content

Textbending with Regular Expression

Jason Charney edited this page Feb 25, 2015 · 1 revision

When we use tools like sed, awk, or grep to control, organize, or find information in the console, we do what is called text manipulation. However, I like to call this skill something a that we can use in the form of a verb or a single noun: textbending.

When we textbend, we take information in one form and convert it to another according to our needs.

Applications that use textbending will often use regular expression or regex or RE. REs are used to process a command multiple times based on whether the input string matches the pattern defined by the RE string.

See Also

  • Bash
  • Perl
  • [sed and awk](The Bash Brothers sed and awk)
  • [grep and find](Searching using grep and find)
  • Vim

External Links (Lots of them!)

Fiddle-like Sites

On these sites you can try out a regular expression

Clone this wiki locally