Help for this page

Select Code to Download


  1. or download this
         m{^     # at the start of the string
           \*    # match a literal asterisk character
    ...
           \s+   # then one or more whitespace characters
           (\S+) # capture a group of non-whitespace characters
          }x     # end of regex (x modifier lets comments and spacing be i
    +gnored)