Introduction to Regular Expressions

40 Ratings

Course Number: PROG-100

Duration: 1 day (6.5 hours)

Format: Live, hands-on

Regular Expressions Training Overview

Regular expressions are a cross-platform, cross-language set of tools for finding, extracting, and replacing text patterns. Regular expressions are supported by Java, .NET, Visual Basic, JavaScript, Perl, TypeScript, Python, and most other modern programming languages. In this course, attendees master the fundamentals of regular expressions in a fun, hands-on environment.

Location and Pricing

Accelebrate offers instructor-led enterprise training for groups of 3 or more online or at your site. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for private corporate training on-site or online, please contact us.

Objectives

  • Discover how to efficiently write complex regular expressions using a step-by-step process
  • Master using regular expressions to find, extract, and replace string patterns
  • Learn how to make your regular expressions even more flexible by embedding conditions

Prerequisites

No prior experience is presumed.

Outline

Expand All | Collapse All

Introducing Regular Expressions
  • Understanding the Need
  • How Regular Expressions Are Used
  • So What Exactly Is a Regular Expression?
  • Using Regular Expressions
  • Before You Get Started
Matching-Single Characters
  • Matching Literal Text
  • Matching Any Characters
  • Matching Special Characters
  • Matching Sets of Characters
  • Matching One of Several Characters
  • Using Character Set Ranges
  • "Anything But" Matching
Using Metacharacters
  • Escaping Revisited
  • Matching Whitespace Characters
  • Matching Specific Character Types
  • Using POSIX Character Classes
Repeating Matches
  • How Many Matches?
  • Using Intervals
  • Preventing Over Matching
Position Matching
  • Using Boundaries
  • Using Word Boundaries
  • Defining String Boundaries
Using Subexpressions
  • Understanding Subexpressions
  • Grouping with Subexpressions
  • Nesting Subexpressions
Using Backreferences
  • Understanding Backreferences
  • Matching with Backreferences
  • Performing Replace Operations
Looking Ahead and Behind.
  • Introducing Lookaround
  • Looking Ahead
  • Looking Behind
  • Combining Lookahead and Lookbehind
  • Negating Lookaround
Embedding Conditions
  • Why Embed Conditions?
  • Using Conditions
Conclusion

Training Materials:

All Regular Expressions training students receive a copy of Sam's Teach Yourself Regular Expressions in 10 Minutes and related courseware.

Software Requirements:

  • Accelebrate will provide regular expression tools for use during the class.
  • If desired, we can customize the course to use your specific language or tools.


Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan