• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Lesson 12. Using Find and Replace > Searching and Replacing with Regular Expres...

Searching and Replacing with Regular Expressions

Regular expressions are control characters that describe character combinations or patterns in text. For example, if you want to find all occurrences of years from 1900–1999, the pattern is “19” followed by any combination of two numbers from 0–9. You can use a number of special characters to define the search pattern. For example, the backslash (\), dollar sign ($), and question mark (?) are special characters. It is important to know these characters; if you are looking for a special character in your text, you need to precede that character with a backslash to indicate it is part of the character search and not used as a special character.

The Appendixes at the back of this book contain tables with all the special characters, regular expressions, and their meanings.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint