Regular Expressions 101

Save & Share

  • Regex Version: ver. 2
  • Update Regex
    ctrl+⇧+s
  • Save new Regex
    ctrl+s
  • Add to Community Library

Flavor

  • PCRE2 (PHP >=7.3)
  • PCRE (PHP <7.3)
  • ECMAScript (JavaScript)
  • Python
  • Golang
  • Java 8
  • .NET 7.0 (C#)
  • Rust
  • Regex Flavor Guide

Function

  • Match
  • Substitution
  • List
  • Unit Tests

Tools

Sponsors
There are currently no sponsors. Become a sponsor today!
An explanation of your regex will be automatically generated as you type.
Detailed match information will be displayed here automatically.
  • All Tokens
  • Common Tokens
  • General Tokens
  • Anchors
  • Meta Sequences
  • Quantifiers
  • Group Constructs
  • Character Classes
  • Flags/Modifiers
  • Substitution
  • A single character of: a, b or c
    [abc]
  • A character except: a, b or c
    [^abc]
  • A character in the range: a-z
    [a-z]
  • A character not in the range: a-z
    [^a-z]
  • A character in the range: a-z or A-Z
    [a-zA-Z]
  • Any single character
    .
  • Alternate - match either a or b
    a|b
  • Any whitespace character
    \s
  • Any non-whitespace character
    \S
  • Any digit
    \d
  • Any non-digit
    \D
  • Any word character
    \w
  • Any non-word character
    \W
  • Non-capturing group
    (?:...)
  • Capturing group
    (...)
  • Zero or one of a
    a?
  • Zero or more of a
    a*
  • One or more of a
    a+
  • Exactly 3 of a
    a{3}
  • 3 or more of a
    a{3,}
  • Between 3 and 6 of a
    a{3,6}
  • Start of string
    ^
  • End of string
    $
  • A word boundary
    \b
  • Non-word boundary
    \B

Regular Expression

/
/

Test String

Code Generator

Generated Code

#include <StringConstants.au3> ; to declare the Constants of StringRegExp #include <Array.au3> ; UDF needed for _ArrayDisplay and _ArrayConcatenate Local $sRegex = "(https:\/\/transfer\.sh\/.*\/.*)" Local $sString = "travis_fold:start:step_start_instance" & @CRLF & _ "Starting instance" & @CRLF & _ "✓ selected image "travis-ci-garnet-trusty-1512502259-986baf0"" & @CRLF & _ "✓ rendered startup script" & @CRLF & _ "✓ inserted instance" & @CRLF & _ "• sleeping 5s before checking instance insert" & @CRLF & _ "• polling for instance insert completion..." & @CRLF & _ "✓ instance is ready (6.705s)" & @CRLF & _ "travis_fold:end:step_start_instance" & @CRLF & _ "travis_fold:start:step_upload_script" & @CRLF & _ "Uploading script" & @CRLF & _ "• waiting for ssh connectivity............" & @CRLF & _ "✓ ssh connectivity established (19.532s)" & @CRLF & _ "✓ uploaded script" & @CRLF & _ "travis_fold:end:step_upload_script" & @CRLF & _ "travis_fold:start:worker_info" & @CRLF & _ "Worker information" & @CRLF & _ "hostname: 63e714b2-ab45-4f85-92fb-bdfcd32f7d81@1.production-1-worker-org-gce-7j9f" & @CRLF & _ "version: v4.1.2 https://github.com/travis-ci/worker/tree/91246b057ccd93649046771f29221f839c19a7d3" & @CRLF & _ "instance: travis-job-9d0382a0-0ec7-4947-93f4-9147ac5686b0 travis-ci-garnet-trusty-1512502259-986baf0 (via amqp)" & @CRLF & _ "startup: 6.705245298s" & @CRLF & _ "travis_fold:end:worker_info" & @CRLF & _ "travis_fold:start:system_info" & @CRLF & _ "Build system information" & @CRLF & _ "Build language: python" & @CRLF & _ "Build group: stable" & @CRLF & _ "Build dist: trusty" & @CRLF & _ "Build id: 433098086" & @CRLF & _ "Job id: 433098087" & @CRLF & _ "Runtime kernel version: 4.4.0-101-generic" & @CRLF & _ "travis-build version: 31bf4c75b" & @CRLF & _ "Build image provisioning date and time" & @CRLF & _ "Tue Dec 5 19:58:13 UTC 2017" & @CRLF & _ "Operating System Details" & @CRLF & _ "Distributor ID: Ubuntu" & @CRLF & _ "Description: Ubuntu 14.04.5 LTS" & @CRLF & _ "Release: 14.04" & @CRLF & _ "Codename: trusty" & @CRLF & _ "Cookbooks Version" & @CRLF & _ "7c2c6a6 https://github.com/travis-ci/travis-cookbooks/tree/7c2c6a6" & @CRLF & _ "git version" & @CRLF & _ "git version 2.15.1" & @CRLF & _ "bash version" & @CRLF & _ "GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu)" & @CRLF & _ "gcc version" & @CRLF & _ "gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4" & @CRLF & _ "Copyright (C) 2013 Free Software Foundation, Inc." & @CRLF & _ "This is free software; see the source for copying conditions. There is NO" & @CRLF & _ "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." & @CRLF & _ "" & @CRLF & _ "docker version" & @CRLF & _ "Client:" & @CRLF & _ " Version: 17.09.0-ce" & @CRLF & _ " API version: 1.32" & @CRLF & _ " Go version: go1.8.3" & @CRLF & _ " Git commit: afdb6d4" & @CRLF & _ " Built: Tue Sep 26 22:42:38 2017" & @CRLF & _ " OS/Arch: linux/amd64" & @CRLF & _ "" & @CRLF & _ "Server:" & @CRLF & _ " Version: 17.09.0-ce" & @CRLF & _ " API version: 1.32 (minimum version 1.12)" & @CRLF & _ " Go version: go1.8.3" & @CRLF & _ " Git commit: afdb6d4" & @CRLF & _ " Built: Tue Sep 26 22:41:20 2017" & @CRLF & _ " OS/Arch: linux/amd64" & @CRLF & _ " Experimental: false" & @CRLF & _ "clang version" & @CRLF & _ "clang version 5.0.0 (tags/RELEASE_500/final)" & @CRLF & _ "Target: x86_64-unknown-linux-gnu" & @CRLF & _ "Thread model: posix" & @CRLF & _ "InstalledDir: /usr/local/clang-5.0.0/bin" & @CRLF & _ "jq version" & @CRLF & _ "jq-1.5" & @CRLF & _ "bats version" & @CRLF & _ "Bats 0.4.0" & @CRLF & _ "shellcheck version" & @CRLF & _ "0.4.6" & @CRLF & _ "shfmt version" & @CRLF & _ "v2.0.0" & @CRLF & _ "ccache version" & @CRLF & _ "ccache version 3.1.9" & @CRLF & _ "" & @CRLF & _ "Copyright (C) 2002-2007 Andrew Tridgell" & @CRLF & _ "Copyright (C) 2009-2011 Joel Rosdahl" & @CRLF & _ "" & @CRLF & _ "This program is free software; you can redistribute it and/or modify it under" & @CRLF & _ "the terms of the GNU General Public License as published by the Free Software" & @CRLF & _ "Foundation; either version 3 of the License, or (at your option) any later" & @CRLF & _ "version." & @CRLF & _ "cmake version" & @CRLF & _ "cmake version 3.9.2" & @CRLF & _ "" & @CRLF & _ "CMake suite maintained and supported by Kitware (kitware.com/cmake)." & @CRLF & _ "heroku version" & @CRLF & _ "heroku-cli/6.14.39-addc925 (linux-x64) node-v9.2.0" & @CRLF & _ "imagemagick version" & @CRLF & _ "Version: ImageMagick 6.7.7-10 2017-07-31 Q16 http://www.imagemagick.org" & @CRLF & _ "md5deep version" & @CRLF & _ "4.2" & @CRLF & _ "mercurial version" & @CRLF & _ "Mercurial Distributed SCM (version 4.2.2)" & @CRLF & _ "(see https://mercurial-scm.org for more information)" & @CRLF & _ "" & @CRLF & _ "Copyright (C) 2005-2017 Matt Mackall and others" & @CRLF & _ "This is free software; see the source for copying conditions. There is NO" & @CRLF & _ "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." & @CRLF & _ "mysql version" & @CRLF & _ "mysql Ver 14.14 Distrib 5.6.33, for debian-linux-gnu (x86_64) using EditLine wrapper" & @CRLF & _ "openssl version" & @CRLF & _ "OpenSSL 1.0.1f 6 Jan 2014" & @CRLF & _ "packer version" & @CRLF & _ "Packer v1.0.2" & @CRLF & _ "" & @CRLF & _ "Your version of Packer is out of date! The latest version" & @CRLF & _ "is 1.1.2. You can update by downloading from www.packer.io" & @CRLF & _ "postgresql client version" & @CRLF & _ "psql (PostgreSQL) 9.6.6" & @CRLF & _ "ragel version" & @CRLF & _ "Ragel State Machine Compiler version 6.8 Feb 2013" & @CRLF & _ "Copyright (c) 2001-2009 by Adrian Thurston" & @CRLF & _ "subversion version" & @CRLF & _ "svn, version 1.8.8 (r1568071)" & @CRLF & _ " compiled Aug 10 2017, 17:20:39 on x86_64-pc-linux-gnu" & @CRLF & _ "" & @CRLF & _ "Copyright (C) 2013 The Apache Software Foundation." & @CRLF & _ "This software consists of contributions made by many people;" & @CRLF & _ "see the NOTICE file for more information." & @CRLF & _ "Subversion is open source software, see http://subversion.apache.org/" & @CRLF & _ "" & @CRLF & _ "The following repository access (RA) modules are available:" & @CRLF & _ "" & @CRLF & _ "* ra_svn : Module for accessing a repository using the svn network protocol." & @CRLF & _ " - with Cyrus SASL authentication" & @CRLF & _ " - handles 'svn' scheme" & @CRLF & _ "* ra_local : Module for accessing a repository on local disk." & @CRLF & _ " - handles 'file' scheme" & @CRLF & _ "* ra_serf : Module for accessing a repository via WebDAV protocol using serf." & @CRLF & _ " - using serf 1.3.3" & @CRLF & _ " - handles 'http' scheme" & @CRLF & _ " - handles 'https' scheme" & @CRLF & _ "" & @CRLF & _ "sudo version" & @CRLF & _ "Sudo version 1.8.9p5" & @CRLF & _ "Configure options: --prefix=/usr -v --with-all-insults --with-pam --with-fqdn --with-logging=syslog --with-logfac=authpriv --with-env-editor --with-editor=/usr/bin/editor --with-timeout=15 --with-password-timeout=0 --with-passprompt=[sudo] password for %p: --without-lecture --with-tty-tickets --disable-root-mailer --enable-admin-flag --with-sendmail=/usr/sbin/sendmail --with-timedir=/var/lib/sudo --mandir=/usr/share/man --libexecdir=/usr/lib/sudo --with-sssd --with-sssd-lib=/usr/lib/x86_64-linux-gnu --with-selinux" & @CRLF & _ "Sudoers policy plugin version 1.8.9p5" & @CRLF & _ "Sudoers file grammar version 43" & @CRLF & _ "" & @CRLF & _ "Sudoers path: /etc/sudoers" & @CRLF & _ "Authentication methods: 'pam'" & @CRLF & _ "Syslog facility if syslog is being used for logging: authpriv" & @CRLF & _ "Syslog priority to use when user authenticates successfully: notice" & @CRLF & _ "Syslog priority to use when user authenticates unsuccessfully: alert" & @CRLF & _ "Send mail if the user is not in sudoers" & @CRLF & _ "Use a separate timestamp for each user/tty combo" & @CRLF & _ "Lecture user the first time they run sudo" & @CRLF & _ "Root may run sudo" & @CRLF & _ "Allow some information gathering to give useful error messages" & @CRLF & _ "Require fully-qualified hostnames in the sudoers file" & @CRLF & _ "Visudo will honor the EDITOR environment variable" & @CRLF & _ "Set the LOGNAME and USER environment variables" & @CRLF & _ "Length at which to wrap log file lines (0 for no wrap): 80" & @CRLF & _ "Authentication timestamp timeout: 15.0 minutes" & @CRLF & _ "Password prompt timeout: 0.0 minutes" & @CRLF & _ "Number of tries to enter a password: 3" & @CRLF & _ "Umask to use or 0777 to use user's: 022" & @CRLF & _ "Path to mail program: /usr/sbin/sendmail" & @CRLF & _ "Flags for mail program: -t" & @CRLF & _ "Address to send mail to: root" & @CRLF & _ "Subject line for mail messages: *** SECURITY information for %h ***" & @CRLF & _ "Incorrect password message: Sorry, try again." & @CRLF & _ "Path to authentication timestamp dir: /var/lib/sudo" & @CRLF & _ "Default password prompt: [sudo] password for %p: " & @CRLF & _ "Default user to run commands as: root" & @CRLF & _ "Value to override user's $PATH with: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" & @CRLF & _ "Path to the editor for use by visudo: /usr/bin/editor" & @CRLF & _ "When to require a password for 'list' pseudocommand: any" & @CRLF & _ "When to require a password for 'verify' pseudocommand: all" & @CRLF & _ "File descriptors >= 3 will be closed before executing a command" & @CRLF & _ "Environment variables to check for sanity:" & @CRLF & _ " TZ" & @CRLF & _ " TERM" & @CRLF & _ " LINGUAS" & @CRLF & _ " LC_*" & @CRLF & _ " LANGUAGE" & @CRLF & _ " LANG" & @CRLF & _ " COLORTERM" & @CRLF & _ "Environment variables to remove:" & @CRLF & _ " RUBYOPT" & @CRLF & _ " RUBYLIB" & @CRLF & _ " PYTHONUSERBASE" & @CRLF & _ " PYTHONINSPECT" & @CRLF & _ " PYTHONPATH" & @CRLF & _ " PYTHONHOME" & @CRLF & _ " TMPPREFIX" & @CRLF & _ " ZDOTDIR" & @CRLF & _ " READNULLCMD" & @CRLF & _ " NULLCMD" & @CRLF & _ " FPATH" & @CRLF & _ " PERL5DB" & @CRLF & _ " PERL5OPT" & @CRLF & _ " PERL5LIB" & @CRLF & _ " PERLLIB" & @CRLF & _ " PERLIO_DEBUG " & @CRLF & _ " JAVA_TOOL_OPTIONS" & @CRLF & _ " SHELLOPTS" & @CRLF & _ " GLOBIGNORE" & @CRLF & _ " PS4" & @CRLF & _ " BASH_ENV" & @CRLF & _ " ENV" & @CRLF & _ " TERMCAP" & @CRLF & _ " TERMPATH" & @CRLF & _ " TERMINFO_DIRS" & @CRLF & _ " TERMINFO" & @CRLF & _ " _RLD*" & @CRLF & _ " LD_*" & @CRLF & _ " PATH_LOCALE" & @CRLF & _ " NLSPATH" & @CRLF & _ " HOSTALIASES" & @CRLF & _ " RES_OPTIONS" & @CRLF & _ " LOCALDOMAIN" & @CRLF & _ " CDPATH" & @CRLF & _ " IFS" & @CRLF & _ "Environment variables to preserve:" & @CRLF & _ " JAVA_HOME" & @CRLF & _ " TRAVIS" & @CRLF & _ " CI" & @CRLF & _ " DEBIAN_FRONTEND" & @CRLF & _ " XAUTHORIZATION" & @CRLF & _ " XAUTHORITY" & @CRLF & _ " PS2" & @CRLF & _ " PS1" & @CRLF & _ " PATH" & @CRLF & _ " LS_COLORS" & @CRLF & _ " KRB5CCNAME" & @CRLF & _ " HOSTNAME" & @CRLF & _ " HOME" & @CRLF & _ " DISPLAY" & @CRLF & _ " COLORS" & @CRLF & _ "Locale to use while parsing sudoers: C" & @CRLF & _ "Directory in which to store input/output logs: /var/log/sudo-io" & @CRLF & _ "File in which to store the input/output log: %{seq}" & @CRLF & _ "Add an entry to the utmp/utmpx file when allocating a pty" & @CRLF & _ "PAM service name to use" & @CRLF & _ "PAM service name to use for login shells" & @CRLF & _ "Create a new PAM session for the command to run in" & @CRLF & _ "Maximum I/O log sequence number: 0" & @CRLF & _ "" & @CRLF & _ "Local IP address and netmask pairs:" & @CRLF & _ " 10.240.0.28/255.255.255.255" & @CRLF & _ " 172.17.0.1/255.255.0.0" & @CRLF & _ "" & @CRLF & _ "Sudoers I/O plugin version 1.8.9p5" & @CRLF & _ "gzip version" & @CRLF & _ "gzip 1.6" & @CRLF & _ "Copyright (C) 2007, 2010, 2011 Free Software Foundation, Inc." & @CRLF & _ "Copyright (C) 1993 Jean-loup Gailly." & @CRLF & _ "This is free software. You may redistribute copies of it under the terms of" & @CRLF & _ "the GNU General Public License <http://www.gnu.org/licenses/gpl.html>." & @CRLF & _ "There is NO WARRANTY, to the extent permitted by law." & @CRLF & _ "" & @CRLF & _ "Written by Jean-loup Gailly." & @CRLF & _ "zip version" & @CRLF & _ "Copyright (c) 1990-2008 Info-ZIP - Type 'zip "-L"' for software license." & @CRLF & _ "This is Zip 3.0 (July 5th 2008), by Info-ZIP." & @CRLF & _ "Currently maintained by E. Gordon. Please send bug reports to" & @CRLF & _ "the authors using the web page at www.info-zip.org; see README for details." & @CRLF & _ "" & @CRLF & _ "Latest sources and executables are at ftp://ftp.info-zip.org/pub/infozip," & @CRLF & _ "as of above date; see http://www.info-zip.org/ for other sites." & @CRLF & _ "" & @CRLF & _ "Compiled with gcc 4.8.2 for Unix (Linux ELF) on Oct 21 2013." & @CRLF & _ "" & @CRLF & _ "Zip special compilation options:" & @CRLF & _ " USE_EF_UT_TIME (store Universal Time)" & @CRLF & _ " BZIP2_SUPPORT (bzip2 library version 1.0.6, 6-Sept-2010)" & @CRLF & _ " bzip2 code and library copyright (c) Julian R Seward" & @CRLF & _ " (See the bzip2 license for terms of use)" & @CRLF & _ " SYMLINK_SUPPORT (symbolic links supported)" & @CRLF & _ " LARGE_FILE_SUPPORT (can read and write large files on file system)" & @CRLF & _ " ZIP64_SUPPORT (use Zip64 to store large files in archives)" & @CRLF & _ " UNICODE_SUPPORT (store and read UTF-8 Unicode paths)" & @CRLF & _ " STORE_UNIX_UIDs_GIDs (store UID/GID sizes/values using new extra field)" & @CRLF & _ " UIDGID_NOT_16BIT (old Unix 16-bit UID/GID extra field not used)" & @CRLF & _ " [encryption, version 2.91 of 05 Jan 2007] (modified for Zip 3)" & @CRLF & _ "" & @CRLF & _ "Encryption notice:" & @CRLF & _ " The encryption code of this program is not copyrighted and is" & @CRLF & _ " put in the public domain. It was originally written in Europe" & @CRLF & _ " and, to the best of our knowledge, can be freely distributed" & @CRLF & _ " in both source and object forms from any country, including" & @CRLF & _ " the USA under License Exception TSU of the U.S. Export" & @CRLF & _ " Administration Regulations (section 740.13(e)) of 6 June 2002." & @CRLF & _ "" & @CRLF & _ "Zip environment options:" & @CRLF & _ " ZIP: [none]" & @CRLF & _ " ZIPOPT: [none]" & @CRLF & _ "vim version" & @CRLF & _ "VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Nov 24 2016 16:43:18)" & @CRLF & _ "Included patches: 1-52" & @CRLF & _ "Extra patches: 8.0.0056" & @CRLF & _ "Modified by pkg-vim-maintainers@lists.alioth.debian.org" & @CRLF & _ "Compiled by buildd@" & @CRLF & _ "Huge version without GUI. Features included (+) or not (-):" & @CRLF & _ "+acl +farsi +mouse_netterm +syntax" & @CRLF & _ "+arabic +file_in_path +mouse_sgr +tag_binary" & @CRLF & _ "+autocmd +find_in_path -mouse_sysmouse +tag_old_static" & @CRLF & _ "-balloon_eval +float +mouse_urxvt -tag_any_white" & @CRLF & _ "-browse +folding +mouse_xterm -tcl" & @CRLF & _ "++builtin_terms -footer +multi_byte +terminfo" & @CRLF & _ "+byte_offset +fork() +multi_lang +termresponse" & @CRLF & _ "+cindent +gettext -mzscheme +textobjects" & @CRLF & _ "-clientserver -hangul_input +netbeans_intg +title" & @CRLF & _ "-clipboard +iconv +path_extra -toolbar" & @CRLF & _ "+cmdline_compl +insert_expand -perl +user_commands" & @CRLF & _ "+cmdline_hist +jumplist +persistent_undo +vertsplit" & @CRLF & _ "+cmdline_info +keymap +postscript +virtualedit" & @CRLF & _ "+comments +langmap +printer +visual" & @CRLF & _ "+conceal +libcall +profile +visualextra" & @CRLF & _ "+cryptv +linebreak +python +viminfo" & @CRLF & _ "+cscope +lispindent -python3 +vreplace" & @CRLF & _ "+cursorbind +listcmds +quickfix +wildignore" & @CRLF & _ "+cursorshape +localmap +reltime +wildmenu" & @CRLF & _ "+dialog_con -lua +rightleft +windows" & @CRLF & _ "+diff +menu -ruby +writebackup" & @CRLF & _ "+digraphs +mksession +scrollbind -X11" & @CRLF & _ "-dnd +modify_fname +signs -xfontset" & @CRLF & _ "-ebcdic +mouse +smartindent -xim" & @CRLF & _ "+emacs_tags -mouseshape -sniff -xsmp" & @CRLF & _ "+eval +mouse_dec +startuptime -xterm_clipboard" & @CRLF & _ "+ex_extra +mouse_gpm +statusline -xterm_save" & @CRLF & _ "+extra_search -mouse_jsbterm -sun_workshop -xpm" & @CRLF & _ " system vimrc file: "$VIM/vimrc"" & @CRLF & _ " user vimrc file: "$HOME/.vimrc"" & @CRLF & _ " 2nd user vimrc file: "~/.vim/vimrc"" & @CRLF & _ " user exrc file: "$HOME/.exrc"" & @CRLF & _ " fall-back for $VIM: "/usr/share/vim"" & @CRLF & _ "Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 " & @CRLF & _ "Linking: gcc -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--as-needed -o vim -lm -ltinfo -lnsl -lselinux -lacl -lattr -lgpm -ldl -L/usr/lib/python2.7/config-x86_64-linux-gnu -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions " & @CRLF & _ "iptables version" & @CRLF & _ "iptables v1.4.21" & @CRLF & _ "curl version" & @CRLF & _ "curl 7.35.0 (x86_64-pc-linux-gnu) libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3" & @CRLF & _ "wget version" & @CRLF & _ "GNU Wget 1.15 built on linux-gnu." & @CRLF & _ "rsync version" & @CRLF & _ "rsync version 3.1.0 protocol version 31" & @CRLF & _ "gimme version" & @CRLF & _ "v1.2.0" & @CRLF & _ "nvm version" & @CRLF & _ "0.33.6" & @CRLF & _ "perlbrew version" & @CRLF & _ "/home/travis/perl5/perlbrew/bin/perlbrew - App::perlbrew/0.80" & @CRLF & _ "phpenv version" & @CRLF & _ "rbenv 1.1.1-25-g6aa70b6" & @CRLF & _ "rvm version" & @CRLF & _ "rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]" & @CRLF & _ "default ruby version" & @CRLF & _ "ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]" & @CRLF & _ "CouchDB version" & @CRLF & _ "couchdb 1.6.1" & @CRLF & _ "ElasticSearch version" & @CRLF & _ "5.5.0" & @CRLF & _ "Installed Firefox version" & @CRLF & _ "firefox 56.0.2" & @CRLF & _ "MongoDB version" & @CRLF & _ "MongoDB 3.4.10" & @CRLF & _ "PhantomJS version" & @CRLF & _ "2.1.1" & @CRLF & _ "Pre-installed PostgreSQL versions" & @CRLF & _ "9.2.24" & @CRLF & _ "9.3.20" & @CRLF & _ "9.4.15" & @CRLF & _ "9.5.10" & @CRLF & _ "9.6.6" & @CRLF & _ "RabbitMQ Version" & @CRLF & _ "3.6.14" & @CRLF & _ "Redis version" & @CRLF & _ "redis-server 4.0.6" & @CRLF & _ "riak version" & @CRLF & _ "2.2.3" & @CRLF & _ "Pre-installed Go versions" & @CRLF & _ "1.7.4" & @CRLF & _ "ant version" & @CRLF & _ "Apache Ant(TM) version 1.9.3 compiled on April 8 2014" & @CRLF & _ "mvn version" & @CRLF & _ "Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T07:58:13Z)" & @CRLF & _ "Maven home: /usr/local/maven-3.5.2" & @CRLF & _ "Java version: 1.8.0_151, vendor: Oracle Corporation" & @CRLF & _ "Java home: /usr/lib/jvm/java-8-oracle/jre" & @CRLF & _ "Default locale: en_US, platform encoding: UTF-8" & @CRLF & _ "OS name: "linux", version: "4.4.0-98-generic", arch: "amd64", family: "unix"" & @CRLF & _ "gradle version" & @CRLF & _ "" & @CRLF & _ "------------------------------------------------------------" & @CRLF & _ "Gradle 4.0.1" & @CRLF & _ "------------------------------------------------------------" & @CRLF & _ "" & @CRLF & _ "Build time: 2017-07-07 14:02:41 UTC" & @CRLF & _ "Revision: 38e5dc0f772daecca1d2681885d3d85414eb6826" & @CRLF & _ "" & @CRLF & _ "Groovy: 2.4.11" & @CRLF & _ "Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015" & @CRLF & _ "JVM: 1.8.0_151 (Oracle Corporation 25.151-b12)" & @CRLF & _ "OS: Linux 4.4.0-98-generic amd64" & @CRLF & _ "" & @CRLF & _ "lein version" & @CRLF & _ "Leiningen 2.8.1 on Java 1.8.0_151 Java HotSpot(TM) 64-Bit Server VM" & @CRLF & _ "Pre-installed Node.js versions" & @CRLF & _ "v4.8.6" & @CRLF & _ "v6.12.0" & @CRLF & _ "v6.12.1" & @CRLF & _ "v8.9" & @CRLF & _ "v8.9.1" & @CRLF & _ "phpenv versions" & @CRLF & _ " system" & @CRLF & _ " 5.6" & @CRLF & _ "* 5.6.32 (set by /home/travis/.phpenv/version)" & @CRLF & _ " 7.0" & @CRLF & _ " 7.0.25" & @CRLF & _ " 7.1" & @CRLF & _ " 7.1.11" & @CRLF & _ " hhvm" & @CRLF & _ " hhvm-stable" & @CRLF & _ "composer --version" & @CRLF & _ "Composer version 1.5.2 2017-09-11 16:59:25" & @CRLF & _ "Pre-installed Ruby versions" & @CRLF & _ "ruby-2.2.7" & @CRLF & _ "ruby-2.3.4" & @CRLF & _ "ruby-2.4.1" & @CRLF & _ "travis_fold:end:system_info" & @CRLF & _ "" & @CRLF & _ "Network availability confirmed." & @CRLF & _ "" & @CRLF & _ "Setting APT mirror in /etc/apt/sources.list: http://us-central1.gce.archive.ubuntu.com/ubuntu/" & @CRLF & _ "" & @CRLF & _ "travis_fold:start:git.checkout" & @CRLF & _ "travis_time:start:192b9a85" & @CRLF & _ "$ git clone --depth=50 https://github.com/SilleBille/test-travis.git SilleBille/test-travis" & @CRLF & _ "Cloning into 'SilleBille/test-travis'..." & @CRLF & _ "remote: Enumerating objects: 26, done." & @CRLF & _ "remote: Counting objects: 3% (1/26) " & @CRLF & _ "remote: Counting objects: 7% (2/26) " & @CRLF & _ "remote: Counting objects: 11% (3/26) " & @CRLF & _ "remote: Counting objects: 15% (4/26) " & @CRLF & _ "remote: Counting objects: 19% (5/26) " & @CRLF & _ "remote: Counting objects: 23% (6/26) " & @CRLF & _ "remote: Counting objects: 26% (7/26) " & @CRLF & _ "remote: Counting objects: 30% (8/26) " & @CRLF & _ "remote: Counting objects: 34% (9/26) " & @CRLF & _ "remote: Counting objects: 38% (10/26) " & @CRLF & _ "remote: Counting objects: 42% (11/26) " & @CRLF & _ "remote: Counting objects: 46% (12/26) " & @CRLF & _ "remote: Counting objects: 50% (13/26) " & @CRLF & _ "remote: Counting objects: 53% (14/26) " & @CRLF & _ "remote: Counting objects: 57% (15/26) " & @CRLF & _ "remote: Counting objects: 61% (16/26) " & @CRLF & _ "remote: Counting objects: 65% (17/26) " & @CRLF & _ "remote: Counting objects: 69% (18/26) " & @CRLF & _ "remote: Counting objects: 73% (19/26) " & @CRLF & _ "remote: Counting objects: 76% (20/26) " & @CRLF & _ "remote: Counting objects: 80% (21/26) " & @CRLF & _ "remote: Counting objects: 84% (22/26) " & @CRLF & _ "remote: Counting objects: 88% (23/26) " & @CRLF & _ "remote: Counting objects: 92% (24/26) " & @CRLF & _ "remote: Counting objects: 96% (25/26) " & @CRLF & _ "remote: Counting objects: 100% (26/26) " & @CRLF & _ "remote: Counting objects: 100% (26/26), done." & @CRLF & _ "remote: Compressing objects: 5% (1/19) " & @CRLF & _ "remote: Compressing objects: 10% (2/19) " & @CRLF & _ "remote: Compressing objects: 15% (3/19) " & @CRLF & _ "remote: Compressing objects: 21% (4/19) " & @CRLF & _ "remote: Compressing objects: 26% (5/19) " & @CRLF & _ "remote: Compressing objects: 31% (6/19) " & @CRLF & _ "remote: Compressing objects: 36% (7/19) " & @CRLF & _ "remote: Compressing objects: 42% (8/19) " & @CRLF & _ "remote: Compressing objects: 47% (9/19) " & @CRLF & _ "remote: Compressing objects: 52% (10/19) " & @CRLF & _ "remote: Compressing objects: 57% (11/19) " & @CRLF & _ "remote: Compressing objects: 63% (12/19) " & @CRLF & _ "remote: Compressing objects: 68% (13/19) " & @CRLF & _ "remote: Compressing objects: 73% (14/19) " & @CRLF & _ "remote: Compressing objects: 78% (15/19) " & @CRLF & _ "remote: Compressing objects: 84% (16/19) " & @CRLF & _ "remote: Compressing objects: 89% (17/19) " & @CRLF & _ "remote: Compressing objects: 94% (18/19) " & @CRLF & _ "remote: Compressing objects: 100% (19/19) " & @CRLF & _ "remote: Compressing objects: 100% (19/19), done." & @CRLF & _ "remote: Total 26 (delta 6), reused 23 (delta 4), pack-reused 0" & @CRLF & _ "Unpacking objects: 3% (1/26) " & @CRLF & _ "Unpacking objects: 7% (2/26) " & @CRLF & _ "Unpacking objects: 11% (3/26) " & @CRLF & _ "Unpacking objects: 15% (4/26) " & @CRLF & _ "Unpacking objects: 19% (5/26) " & @CRLF & _ "Unpacking objects: 23% (6/26) " & @CRLF & _ "Unpacking objects: 26% (7/26) " & @CRLF & _ "Unpacking objects: 30% (8/26) " & @CRLF & _ "Unpacking objects: 34% (9/26) " & @CRLF & _ "Unpacking objects: 38% (10/26) " & @CRLF & _ "Unpacking objects: 42% (11/26) " & @CRLF & _ "Unpacking objects: 46% (12/26) " & @CRLF & _ "Unpacking objects: 50% (13/26) " & @CRLF & _ "Unpacking objects: 53% (14/26) " & @CRLF & _ "Unpacking objects: 57% (15/26) " & @CRLF & _ "Unpacking objects: 61% (16/26) " & @CRLF & _ "Unpacking objects: 65% (17/26) " & @CRLF & _ "Unpacking objects: 69% (18/26) " & @CRLF & _ "Unpacking objects: 73% (19/26) " & @CRLF & _ "Unpacking objects: 76% (20/26) " & @CRLF & _ "Unpacking objects: 80% (21/26) " & @CRLF & _ "Unpacking objects: 84% (22/26) " & @CRLF & _ "Unpacking objects: 88% (23/26) " & @CRLF & _ "Unpacking objects: 92% (24/26) " & @CRLF & _ "Unpacking objects: 96% (25/26) " & @CRLF & _ "Unpacking objects: 100% (26/26) " & @CRLF & _ "Unpacking objects: 100% (26/26), done." & @CRLF & _ "" & @CRLF & _ "travis_time:end:192b9a85:start=1537901122909466652,finish=1537901123476945079,duration=567478427" & @CRLF & _ "$ cd SilleBille/test-travis" & @CRLF & _ "travis_time:start:055eeb01" & @CRLF & _ "$ git fetch origin +refs/pull/11/merge:" & @CRLF & _ "remote: Enumerating objects: 21, done." & @CRLF & _ "remote: Counting objects: 4% (1/21) " & @CRLF & _ "remote: Counting objects: 9% (2/21) " & @CRLF & _ "remote: Counting objects: 14% (3/21) " & @CRLF & _ "remote: Counting objects: 19% (4/21) " & @CRLF & _ "remote: Counting objects: 23% (5/21) " & @CRLF & _ "remote: Counting objects: 28% (6/21) " & @CRLF & _ "remote: Counting objects: 33% (7/21) " & @CRLF & _ "remote: Counting objects: 38% (8/21) " & @CRLF & _ "remote: Counting objects: 42% (9/21) " & @CRLF & _ "remote: Counting objects: 47% (10/21) " & @CRLF & _ "remote: Counting objects: 52% (11/21) " & @CRLF & _ "remote: Counting objects: 57% (12/21) " & @CRLF & _ "remote: Counting objects: 61% (13/21) " & @CRLF & _ "remote: Counting objects: 66% (14/21) " & @CRLF & _ "remote: Counting objects: 71% (15/21) " & @CRLF & _ "remote: Counting objects: 76% (16/21) " & @CRLF & _ "remote: Counting objects: 80% (17/21) " & @CRLF & _ "remote: Counting objects: 85% (18/21) " & @CRLF & _ "remote: Counting objects: 90% (19/21) " & @CRLF & _ "remote: Counting objects: 95% (20/21) " & @CRLF & _ "remote: Counting objects: 100% (21/21) " & @CRLF & _ "remote: Counting objects: 100% (21/21), done." & @CRLF & _ "remote: Compressing objects: 8% (1/12) " & @CRLF & _ "remote: Compressing objects: 16% (2/12) " & @CRLF & _ "remote: Compressing objects: 25% (3/12) " & @CRLF & _ "remote: Compressing objects: 33% (4/12) " & @CRLF & _ "remote: Compressing objects: 41% (5/12) " & @CRLF & _ "remote: Compressing objects: 50% (6/12) " & @CRLF & _ "remote: Compressing objects: 58% (7/12) " & @CRLF & _ "remote: Compressing objects: 66% (8/12) " & @CRLF & _ "remote: Compressing objects: 75% (9/12) " & @CRLF & _ "remote: Compressing objects: 83% (10/12) " & @CRLF & _ "remote: Compressing objects: 91% (11/12) " & @CRLF & _ "remote: Compressing objects: 100% (12/12) " & @CRLF & _ "remote: Compressing objects: 100% (12/12), done." & @CRLF & _ "remote: Total 18 (delta 7), reused 16 (delta 6), pack-reused 0" & @CRLF & _ "Unpacking objects: 5% (1/18) " & @CRLF & _ "Unpacking objects: 11% (2/18) " & @CRLF & _ "Unpacking objects: 16% (3/18) " & @CRLF & _ "Unpacking objects: 22% (4/18) " & @CRLF & _ "Unpacking objects: 27% (5/18) " & @CRLF & _ "Unpacking objects: 33% (6/18) " & @CRLF & _ "Unpacking objects: 38% (7/18) " & @CRLF & _ "Unpacking objects: 44% (8/18) " & @CRLF & _ "Unpacking objects: 50% (9/18) " & @CRLF & _ "Unpacking objects: 55% (10/18) " & @CRLF & _ "Unpacking objects: 61% (11/18) " & @CRLF & _ "Unpacking objects: 66% (12/18) " & @CRLF & _ "Unpacking objects: 72% (13/18) " & @CRLF & _ "Unpacking objects: 77% (14/18) " & @CRLF & _ "Unpacking objects: 83% (15/18) " & @CRLF & _ "Unpacking objects: 88% (16/18) " & @CRLF & _ "Unpacking objects: 94% (17/18) " & @CRLF & _ "Unpacking objects: 100% (18/18) " & @CRLF & _ "Unpacking objects: 100% (18/18), done." & @CRLF & _ "From https://github.com/SilleBille/test-travis" & @CRLF & _ " * branch refs/pull/11/merge -> FETCH_HEAD" & @CRLF & _ "" & @CRLF & _ "travis_time:end:055eeb01:start=1537901123480817016,finish=1537901123872350932,duration=391533916" & @CRLF & _ "$ git checkout -qf FETCH_HEAD" & @CRLF & _ "travis_fold:end:git.checkout" & @CRLF & _ "" & @CRLF & _ "Setting environment variables from .travis.yml" & @CRLF & _ "$ export TASK="Task1"" & @CRLF & _ "" & @CRLF & _ "travis_time:start:14bd0804" & @CRLF & _ "$ source ~/virtualenv/python2.7/bin/activate" & @CRLF & _ "" & @CRLF & _ "travis_time:end:14bd0804:start=1537901123882328477,finish=1537901123891924014,duration=9595537" & @CRLF & _ "travis_fold:start:cache.1" & @CRLF & _ "Setting up build cache" & @CRLF & _ "$ export CASHER_DIR=${TRAVIS_HOME}/.casher" & @CRLF & _ "travis_time:start:16d5e074" & @CRLF & _ "$ Installing caching utilities" & @CRLF & _ "" & @CRLF & _ "travis_time:end:16d5e074:start=1537901128543464146,finish=1537901128695850343,duration=152386197" & @CRLF & _ "travis_time:start:00e0e959" & @CRLF & _ "" & @CRLF & _ "travis_time:end:00e0e959:start=1537901128702988516,finish=1537901128707201183,duration=4212667" & @CRLF & _ "travis_time:start:060654a9" & @CRLF & _ "attempting to download cache archive" & @CRLF & _ "fetching PR.11/cache-linux-trusty-5c467cfbf24ba6f139723d9ca88f924f57c62fa3772700d1dd0faa81771b5340--python-2.7.tgz" & @CRLF & _ "fetching PR.11/cache--python-2.7.tgz" & @CRLF & _ "fetching master/cache-linux-trusty-5c467cfbf24ba6f139723d9ca88f924f57c62fa3772700d1dd0faa81771b5340--python-2.7.tgz" & @CRLF & _ "found cache" & @CRLF & _ "" & @CRLF & _ "travis_time:end:060654a9:start=1537901128712560802,finish=1537901134289525147,duration=5576964345" & @CRLF & _ "travis_fold:end:cache.1" & @CRLF & _ "travis_fold:start:cache.pip" & @CRLF & _ "" & @CRLF & _ "travis_time:start:18556383" & @CRLF & _ "" & @CRLF & _ "travis_time:end:18556383:start=1537901134295561956,finish=1537901134300078308,duration=4516352" & @CRLF & _ "travis_time:start:0b20d824" & @CRLF & _ "adding /home/travis/.cache/pip to cache" & @CRLF & _ "" & @CRLF & _ "travis_time:end:0b20d824:start=1537901134305689743,finish=1537901136614353863,duration=2308664120" & @CRLF & _ "travis_fold:end:cache.pip" & @CRLF & _ "$ python --version" & @CRLF & _ "Python 2.7.14" & @CRLF & _ "$ pip --version" & @CRLF & _ "pip 9.0.1 from /home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages (python 2.7)" & @CRLF & _ "Could not locate requirements.txt. Override the install: key in your .travis.yml to install dependencies." & @CRLF & _ "travis_time:start:0cfbd959" & @CRLF & _ "$ ./random_script.sh 1" & @CRLF & _ "From inside script" & @CRLF & _ "https://transfer.sh/JKdZg/pkbuild.txt" & @CRLF & _ "https://transfer.sh/nfs2l/var_log.tar" & @CRLF & _ "https://transfer.sh/PsafD3/systemd_journal.txt" & @CRLF & _ "travis_time:end:0cfbd959:start=1537901137500353223,finish=1537901137505255351,duration=4902128" & @CRLF & _ "" & @CRLF & _ "The command "./random_script.sh 1" exited with 1." & @CRLF & _ "travis_fold:start:cache.2" & @CRLF & _ "store build cache" & @CRLF & _ "travis_time:start:2bc73c43" & @CRLF & _ "" & @CRLF & _ "travis_time:end:2bc73c43:start=1537901137510607609,finish=1537901137514890762,duration=4283153" & @CRLF & _ "travis_time:start:03a592cb" & @CRLF & _ "nothing changed, not updating cache" & @CRLF & _ "" & @CRLF & _ "travis_time:end:03a592cb:start=1537901137520346594,finish=1537901138854264777,duration=1333918183" & @CRLF & _ "travis_fold:end:cache.2" & @CRLF & _ "" & @CRLF & _ "Done. Your build exited with 1." & @CRLF & _ "" Local $aArray = StringRegExp($sString, $sRegex, $STR_REGEXPARRAYFULLMATCH) ; Present the entire match result _ArrayDisplay($aArray, "Result")

Please keep in mind that these code samples are automatically generated and are not guaranteed to work. If you find any syntax errors, feel free to submit a bug report. For a full regex reference for AutoIt, please visit: https://www.autoitscript.com/autoit3/docs/functions/StringRegExp.htm