Help for this page

Select Code to Download


  1. or download this
    s/\bold\b/new/gi; 
    #  1: replaces all instances of the string, e.g. "old", 
    ...
    
    s/\bOLD\b/NEW/gi; 
    #  4: replaces same variants of "OLD" as in 1 with "NEW"
    
  2. or download this
    #!/usr/bin/perl
    
    use YAPE::Regex::Explain;
    print YAPE::Regex::Explain->new(qr/\bold\b/i)->explain;
    
  3. or download this
    The regular expression:
    
    ...
    )                        end of grouping
    ----------------------------------------------------------------------