January 01, 2008

Skip Navigation LinksIrocon > Blog > 2008 > January, 2008 > January 01, 2008

How To: match using backreferences

Backreferencing uses named groups to allow you to search for other instances of characters that match a wildcard. Backreferences provide a convenient way to find repeating groups of characters. They can be thought of as a shorthand instruction to match the same string again.As the name implies, a regex backreference refers to a substring previously encountered in the target text. Backreferences areLast Updated:Thursday, September 02, 2010By:alferoSource#