Regular Expressions 101

Save & Share

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

/
/
gm

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 = "(?m)(?ms)(?<date>[0-9]{1,2}\/[0-9]{1,2}\/[0-9]{4})\s(?<time>[0-9]{2}:[0-9]{2}:[0-9]{2})\s-\sProcess\((?<process>.*?)\)\sUser\((?<user>.*?)\)\sProgram\((?<program>.*?)\)\n\s*Host\((?<host>.*?)\)\sInstallation\((?<installation>.*?)\)\s*VRMF\((?<vrmf>.*?)\)\sQMgr\((?<qmgr>.*?)\)\s*(?<errorCode>AMQ[0-9]{4}):\s(?<errorDesc>.*?)EXPLANATION:\s*(?<explanation>.*?)ACTION:\s*(?<action>.*?)\s-{1,10}\s(?<source>.*?)\s\:\s(?<linenumber>[0-9]{0,4})\s-{50,60}" Local $sString = "10/26/2021 12:39:50 - Process(8272.240) User(IBMWebSphMQ05) Program(runmqlsr.exe)" & @CRLF & _ " Host(IBMMQ02APWPDCL) Installation(Installation1)" & @CRLF & _ " VRMF(9.0.0.3) QMgr(DTCC)" & @CRLF & _ " " & @CRLF & _ "AMQ9616: The CipherSpec proposed is not enabled on the server." & @CRLF & _ "" & @CRLF & _ "EXPLANATION:" & @CRLF & _ "The SSL or TLS subsystem at the server end of a channel been configured in such" & @CRLF & _ "a way that it has rejected the CipherSpec proposed by an SSL or TLS client." & @CRLF & _ "This rejection occurred during the secure socket handshake (i.e. it happened" & @CRLF & _ "before the proposed CipherSpec was compared with the CipherSpec in the server" & @CRLF & _ "channel definition). " & @CRLF & _ "" & @CRLF & _ "This error most commonly occurs when the choice of acceptable CipherSpecs has" & @CRLF & _ "been limited in one of the following ways: " & @CRLF & _ "(a) The server queue manager SSLFipsRequired attribute is set to YES and the" & @CRLF & _ " channel is using a CipherSpec which is not FIPS-certified on the server. " & @CRLF & _ "(b) The server queue manager EncryptionPolicySuiteB attribute has been set to a" & @CRLF & _ " value other than NONE and the channel is using a CipherSpec which does not" & @CRLF & _ " meet the server's configured Suite B security level. " & @CRLF & _ "(c) The protocol used by the channel has been deprecated. Note that IBM may" & @CRLF & _ " need to deprecate a protocol via product maintenance in response to a" & @CRLF & _ " security vulnerability, for example SSLv3 has been deprecated. Continued use" & @CRLF & _ " of SSLv3 protocol is not recommended but may be enabled by setting" & @CRLF & _ " environment variable AMQ_SSL_V3_ENABLE=TRUE. " & @CRLF & _ "(d) The requested CipherSpec has been deprecated. Note that IBM may need to" & @CRLF & _ " deprecate a CipherSpec via product maintenance in response to a security" & @CRLF & _ " vulnerability, for example RC4_MD5_US has been deprecated. Continued use of" & @CRLF & _ " deprecated CipherSpecs is not recommended but may be enabled by setting" & @CRLF & _ " environment variable AMQ_SSL_WEAK_CIPHER_ENABLE=<CipherSpec>. For example," & @CRLF & _ " AMQ_SSL_WEAK_CIPHER_ENABLE=RC4_MD5_US " & @CRLF & _ "" & @CRLF & _ "The channel is '????'; in some cases its name cannot be determined and so is" & @CRLF & _ "shown as '????'. The channel did not start. " & @CRLF & _ "" & @CRLF & _ "The remote host name is 'vmpqg17seapd (10.12.112.81)'." & @CRLF & _ "ACTION:" & @CRLF & _ "Analyse why the proposed CipherSpec was not enabled on the server. Alter the" & @CRLF & _ "client CipherSpec, or reconfigure the server to accept the original client" & @CRLF & _ "CipherSpec. Restart the channel. " & @CRLF & _ "" & @CRLF & _ "This message might occur after applying IBM MQ maintenance because the FIPS and" & @CRLF & _ "Suite B standards are updated periodically. When such changes occur, IBM MQ is" & @CRLF & _ "also updated to implement the latest standard. As a result, you might see" & @CRLF & _ "changes in behavior after applying maintenance. For more information about the" & @CRLF & _ "versions of FIPS and Suite B standards enforced by IBM MQ, refer to the readme:" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ " http://www-01.ibm.com/support/docview.wss?rs=171&uid=swg27006097 " & @CRLF & _ "----- amqccisa.c : 7899 -------------------------------------------------------" & @CRLF & _ "10/26/2021 12:39:50 - Process(8272.240) User(IBMWebSphMQ05) Program(runmqlsr.exe)" & @CRLF & _ " Host(IBMMQ02APWPDCL) Installation(Installation1)" & @CRLF & _ " VRMF(9.0.0.3) QMgr(DTCC)" & @CRLF & _ " " & @CRLF & _ "AMQ9999: Channel '????' to host 'vmpqg17seapd (10.12.112.81)' ended abnormally." & @CRLF & _ "" & @CRLF & _ "EXPLANATION:" & @CRLF & _ "The channel program running under process ID 8272(22164) for channel '????'" & @CRLF & _ "ended abnormally. The host name is 'vmpqg17seapd (10.12.112.81)'; in some cases" & @CRLF & _ "the host name cannot be determined and so is shown as '????'." & @CRLF & _ "ACTION:" & @CRLF & _ "Look at previous error messages for the channel program in the error logs to" & @CRLF & _ "determine the cause of the failure. Note that this message can be excluded" & @CRLF & _ "completely or suppressed by tuning the "ExcludeMessage" or "SuppressMessage"" & @CRLF & _ "attributes under the "QMErrorLog" stanza in qm.ini. Further information can be" & @CRLF & _ "found in the System Administration Guide. " & @CRLF & _ "----- amqrmrsa.c : 938 --------------------------------------------------------" & @CRLF & _ "10/26/2021 12:39:50 - Process(8272.241) User(IBMWebSphMQ05) Program(runmqlsr.exe)" & @CRLF & _ " Host(IBMMQ02APWPDCL) Installation(Installation1)" & @CRLF & _ " VRMF(9.0.0.3) QMgr(DTCC)" & @CRLF & _ " " & @CRLF & _ "AMQ9616: The CipherSpec proposed is not enabled on the server." & @CRLF & _ "" & @CRLF & _ "EXPLANATION:" & @CRLF & _ "The SSL or TLS subsystem at the server end of a channel been configured in such" & @CRLF & _ "a way that it has rejected the CipherSpec proposed by an SSL or TLS client." & @CRLF & _ "This rejection occurred during the secure socket handshake (i.e. it happened" & @CRLF & _ "before the proposed CipherSpec was compared with the CipherSpec in the server" & @CRLF & _ "channel definition). " & @CRLF & _ "" & @CRLF & _ "This error most commonly occurs when the choice of acceptable CipherSpecs has" & @CRLF & _ "been limited in one of the following ways: " & @CRLF & _ "(a) The server queue manager SSLFipsRequired attribute is set to YES and the" & @CRLF & _ " channel is using a CipherSpec which is not FIPS-certified on the server. " & @CRLF & _ "(b) The server queue manager EncryptionPolicySuiteB attribute has been set to a" & @CRLF & _ " value other than NONE and the channel is using a CipherSpec which does not" & @CRLF & _ " meet the server's configured Suite B security level. " & @CRLF & _ "(c) The protocol used by the channel has been deprecated. Note that IBM may" & @CRLF & _ " need to deprecate a protocol via product maintenance in response to a" & @CRLF & _ " security vulnerability, for example SSLv3 has been deprecated. Continued use" & @CRLF & _ " of SSLv3 protocol is not recommended but may be enabled by setting" & @CRLF & _ " environment variable AMQ_SSL_V3_ENABLE=TRUE. " & @CRLF & _ "(d) The requested CipherSpec has been deprecated. Note that IBM may need to" & @CRLF & _ " deprecate a CipherSpec via product maintenance in response to a security" & @CRLF & _ " vulnerability, for example RC4_MD5_US has been deprecated. Continued use of" & @CRLF & _ " deprecated CipherSpecs is not recommended but may be enabled by setting" & @CRLF & _ " environment variable AMQ_SSL_WEAK_CIPHER_ENABLE=<CipherSpec>. For example," & @CRLF & _ " AMQ_SSL_WEAK_CIPHER_ENABLE=RC4_MD5_US " & @CRLF & _ "" & @CRLF & _ "The channel is '????'; in some cases its name cannot be determined and so is" & @CRLF & _ "shown as '????'. The channel did not start. " & @CRLF & _ "" & @CRLF & _ "The remote host name is 'vmpqg17seapd (10.12.112.81)'." & @CRLF & _ "ACTION:" & @CRLF & _ "Analyse why the proposed CipherSpec was not enabled on the server. Alter the" & @CRLF & _ "client CipherSpec, or reconfigure the server to accept the original client" & @CRLF & _ "CipherSpec. Restart the channel. " & @CRLF & _ "" & @CRLF & _ "This message might occur after applying IBM MQ maintenance because the FIPS and" & @CRLF & _ "Suite B standards are updated periodically. When such changes occur, IBM MQ is" & @CRLF & _ "also updated to implement the latest standard. As a result, you might see" & @CRLF & _ "changes in behavior after applying maintenance. For more information about the" & @CRLF & _ "versions of FIPS and Suite B standards enforced by IBM MQ, refer to the readme:" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ " http://www-01.ibm.com/support/docview.wss?rs=171&uid=swg27006097 " & @CRLF & _ "----- amqccisa.c : 7899 -------------------------------------------------------" & @CRLF & _ "10/26/2021 12:39:50 - Process(8272.241) User(IBMWebSphMQ05) Program(runmqlsr.exe)" & @CRLF & _ " Host(IBMMQ02APWPDCL) Installation(Installation1)" & @CRLF & _ " VRMF(9.0.0.3) QMgr(DTCC)" & @CRLF & _ " " & @CRLF & _ "AMQ9999: Channel '????' to host 'vmpqg17seapd (10.12.112.81)' ended abnormally." & @CRLF & _ "" & @CRLF & _ "EXPLANATION:" & @CRLF & _ "The channel program running under process ID 8272(23212) for channel '????'" & @CRLF & _ "ended abnormally. The host name is 'vmpqg17seapd (10.12.112.81)'; in some cases" & @CRLF & _ "the host name cannot be determined and so is shown as '????'." & @CRLF & _ "ACTION:" & @CRLF & _ "Look at previous error messages for the channel program in the error logs to" & @CRLF & _ "determine the cause of the failure. Note that this message can be excluded" & @CRLF & _ "completely or suppressed by tuning the "ExcludeMessage" or "SuppressMessage"" & @CRLF & _ "attributes under the "QMErrorLog" stanza in qm.ini. Further information can be" & @CRLF & _ "found in the System Administration Guide. " & @CRLF & _ "----- amqrmrsa.c : 938 --------------------------------------------------------" & @CRLF & _ "10/26/2021 12:39:50 - Process(8272.242) User(IBMWebSphMQ05) Program(runmqlsr.exe)" & @CRLF & _ " Host(IBMMQ02APWPDCL) Installation(Installation1)" & @CRLF & _ " VRMF(9.0.0.3) QMgr(DTCC)" & @CRLF & _ " " & @CRLF & _ "AMQ9616: The CipherSpec proposed is not enabled on the server." & @CRLF & _ "" & @CRLF & _ "EXPLANATION:" & @CRLF & _ "The SSL or TLS subsystem at the server end of a channel been configured in such" & @CRLF & _ "a way that it has rejected the CipherSpec proposed by an SSL or TLS client." & @CRLF & _ "This rejection occurred during the secure socket handshake (i.e. it happened" & @CRLF & _ "before the proposed CipherSpec was compared with the CipherSpec in the server" & @CRLF & _ "channel definition). " & @CRLF & _ "" & @CRLF & _ "This error most commonly occurs when the choice of acceptable CipherSpecs has" & @CRLF & _ "been limited in one of the following ways: " & @CRLF & _ "(a) The server queue manager SSLFipsRequired attribute is set to YES and the" & @CRLF & _ " channel is using a CipherSpec which is not FIPS-certified on the server. " & @CRLF & _ "(b) The server queue manager EncryptionPolicySuiteB attribute has been set to a" & @CRLF & _ " value other than NONE and the channel is using a CipherSpec which does not" & @CRLF & _ " meet the server's configured Suite B security level. " & @CRLF & _ "(c) The protocol used by the channel has been deprecated. Note that IBM may" & @CRLF & _ " need to deprecate a protocol via product maintenance in response to a" & @CRLF & _ " security vulnerability, for example SSLv3 has been deprecated. Continued use" & @CRLF & _ " of SSLv3 protocol is not recommended but may be enabled by setting" & @CRLF & _ " environment variable AMQ_SSL_V3_ENABLE=TRUE. " & @CRLF & _ "(d) The requested CipherSpec has been deprecated. Note that IBM may need to" & @CRLF & _ " deprecate a CipherSpec via product maintenance in response to a security" & @CRLF & _ " vulnerability, for example RC4_MD5_US has been deprecated. Continued use of" & @CRLF & _ " deprecated CipherSpecs is not recommended but may be enabled by setting" & @CRLF & _ " environment variable AMQ_SSL_WEAK_CIPHER_ENABLE=<CipherSpec>. For example," & @CRLF & _ " AMQ_SSL_WEAK_CIPHER_ENABLE=RC4_MD5_US " & @CRLF & _ "" & @CRLF & _ "The channel is '????'; in some cases its name cannot be determined and so is" & @CRLF & _ "shown as '????'. The channel did not start. " & @CRLF & _ "" & @CRLF & _ "The remote host name is 'vmpqg17seapd (10.12.112.81)'." & @CRLF & _ "ACTION:" & @CRLF & _ "Analyse why the proposed CipherSpec was not enabled on the server. Alter the" & @CRLF & _ "client CipherSpec, or reconfigure the server to accept the original client" & @CRLF & _ "CipherSpec. Restart the channel. " & @CRLF & _ "" & @CRLF & _ "This message might occur after applying IBM MQ maintenance because the FIPS and" & @CRLF & _ "Suite B standards are updated periodically. When such changes occur, IBM MQ is" & @CRLF & _ "also updated to implement the latest standard. As a result, you might see" & @CRLF & _ "changes in behavior after applying maintenance. For more information about the" & @CRLF & _ "versions of FIPS and Suite B standards enforced by IBM MQ, refer to the readme:" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ " http://www-01.ibm.com/support/docview.wss?rs=171&uid=swg27006097 " & @CRLF & _ "----- amqccisa.c : 7899 -------------------------------------------------------" & @CRLF & _ "10/26/2021 12:39:50 - Process(8272.242) User(IBMWebSphMQ05) Program(runmqlsr.exe)" & @CRLF & _ " Host(IBMMQ02APWPDCL) Installation(Installation1)" & @CRLF & _ " VRMF(9.0.0.3) QMgr(DTCC)" & @CRLF & _ " " & @CRLF & _ "AMQ9999: Channel '????' to host 'vmpqg17seapd (10.12.112.81)' ended abnormally." & @CRLF & _ "" & @CRLF & _ "EXPLANATION:" & @CRLF & _ "The channel program running under process ID 8272(25820) for channel '????'" & @CRLF & _ "ended abnormally. The host name is 'vmpqg17seapd (10.12.112.81)'; in some cases" & @CRLF & _ "the host name cannot be determined and so is shown as '????'." & @CRLF & _ "ACTION:" & @CRLF & _ "Look at previous error messages for the channel program in the error logs to" & @CRLF & _ "determine the cause of the failure. Note that this message can be excluded" & @CRLF & _ "completely or suppressed by tuning the "ExcludeMessage" or "SuppressMessage"" & @CRLF & _ "attributes under the "QMErrorLog" stanza in qm.ini. Further information can be" & @CRLF & _ "found in the System Administration Guide. " & @CRLF & _ "----- amqrmrsa.c : 938 --------------------------------------------------------" & @CRLF & _ "10/26/2021 12:39:50 - Process(8272.243) User(IBMWebSphMQ05) Program(runmqlsr.exe)" & @CRLF & _ " Host(IBMMQ02APWPDCL) Installation(Installation1)" & @CRLF & _ " VRMF(9.0.0.3) QMgr(DTCC)" & @CRLF & _ " " & @CRLF & _ "AMQ9616: The CipherSpec proposed is not enabled on the server." & @CRLF & _ "" & @CRLF & _ "EXPLANATION:" & @CRLF & _ "The SSL or TLS subsystem at the server end of a channel been configured in such" & @CRLF & _ "a way that it has rejected the CipherSpec proposed by an SSL or TLS client." & @CRLF & _ "This rejection occurred during the secure socket handshake (i.e. it happened" & @CRLF & _ "before the proposed CipherSpec was compared with the CipherSpec in the server" & @CRLF & _ "channel definition). " & @CRLF & _ "" & @CRLF & _ "This error most commonly occurs when the choice of acceptable CipherSpecs has" & @CRLF & _ "been limited in one of the following ways: " & @CRLF & _ "(a) The server queue manager SSLFipsRequired attribute is set to YES and the" & @CRLF & _ " channel is using a CipherSpec which is not FIPS-certified on the server. " & @CRLF & _ "(b) The server queue manager EncryptionPolicySuiteB attribute has been set to a" & @CRLF & _ " value other than NONE and the channel is using a CipherSpec which does not" & @CRLF & _ " meet the server's configured Suite B security level. " & @CRLF & _ "(c) The protocol used by the channel has been deprecated. Note that IBM may" & @CRLF & _ " need to deprecate a protocol via product maintenance in response to a" & @CRLF & _ " security vulnerability, for example SSLv3 has been deprecated. Continued use" & @CRLF & _ " of SSLv3 protocol is not recommended but may be enabled by setting" & @CRLF & _ " environment variable AMQ_SSL_V3_ENABLE=TRUE. " & @CRLF & _ "(d) The requested CipherSpec has been deprecated. Note that IBM may need to" & @CRLF & _ " deprecate a CipherSpec via product maintenance in response to a security" & @CRLF & _ " vulnerability, for example RC4_MD5_US has been deprecated. Continued use of" & @CRLF & _ " deprecated CipherSpecs is not recommended but may be enabled by setting" & @CRLF & _ " environment variable AMQ_SSL_WEAK_CIPHER_ENABLE=<CipherSpec>. For example," & @CRLF & _ " AMQ_SSL_WEAK_CIPHER_ENABLE=RC4_MD5_US " & @CRLF & _ "" & @CRLF & _ "The channel is '????'; in some cases its name cannot be determined and so is" & @CRLF & _ "shown as '????'. The channel did not start. " & @CRLF & _ "" & @CRLF & _ "The remote host name is 'vmpqg17seapd (10.12.112.81)'." & @CRLF & _ "ACTION:" & @CRLF & _ "Analyse why the proposed CipherSpec was not enabled on the server. Alter the" & @CRLF & _ "client CipherSpec, or reconfigure the server to accept the original client" & @CRLF & _ "CipherSpec. Restart the channel. " & @CRLF & _ "" & @CRLF & _ "This message might occur after applying IBM MQ maintenance because the FIPS and" & @CRLF & _ "Suite B standards are updated periodically. When such changes occur, IBM MQ is" & @CRLF & _ "also updated to implement the latest standard. As a result, you might see" & @CRLF & _ "changes in behavior after applying maintenance. For more information about the" & @CRLF & _ "versions of FIPS and Suite B standards enforced by IBM MQ, refer to the readme:" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ " http://www-01.ibm.com/support/docview.wss?rs=171&uid=swg27006097 " & @CRLF & _ "----- amqccisa.c : 7899 -------------------------------------------------------" & @CRLF & _ "10/26/2021 12:39:50 - Process(8272.243) User(IBMWebSphMQ05) Program(runmqlsr.exe)" & @CRLF & _ " Host(IBMMQ02APWPDCL) Installation(Installation1)" & @CRLF & _ " VRMF(9.0.0.3) QMgr(DTCC)" & @CRLF & _ " " & @CRLF & _ "AMQ9999: Channel '????' to host 'vmpqg17seapd (10.12.112.81)' ended abnormally." & @CRLF & _ "" & @CRLF & _ "EXPLANATION:" & @CRLF & _ "The channel program running under process ID 8272(6588) for channel '????'" & @CRLF & _ "ended abnormally. The host name is 'vmpqg17seapd (10.12.112.81)'; in some cases" & @CRLF & _ "the host name cannot be determined and so is shown as '????'." & @CRLF & _ "ACTION:" & @CRLF & _ "Look at previous error messages for the channel program in the error logs to" & @CRLF & _ "determine the cause of the failure. Note that this message can be excluded" & @CRLF & _ "completely or suppressed by tuning the "ExcludeMessage" or "SuppressMessage"" & @CRLF & _ "attributes under the "QMErrorLog" stanza in qm.ini. Further information can be" & @CRLF & _ "found in the System Administration Guide. " & @CRLF & _ "----- amqrmrsa.c : 938 --------------------------------------------------------" & @CRLF & _ "10/26/2021 12:39:50 - Process(8272.244) User(IBMWebSphMQ05) Program(runmqlsr.exe)" & @CRLF & _ " Host(IBMMQ02APWPDCL) Installation(Installation1)" & @CRLF & _ " VRMF(9.0.0.3) QMgr(DTCC)" & @CRLF & _ " " & @CRLF & _ "AMQ9616: The CipherSpec proposed is not enabled on the server." & @CRLF & _ "" & @CRLF & _ "EXPLANATION:" & @CRLF & _ "The SSL or TLS subsystem at the server end of a channel been configured in such" & @CRLF & _ "a way that it has rejected the CipherSpec proposed by an SSL or TLS client." & @CRLF & _ "This rejection occurred during the secure socket handshake (i.e. it happened" & @CRLF & _ "before the proposed CipherSpec was compared with the CipherSpec in the server" & @CRLF & _ "channel definition). " & @CRLF & _ "" & @CRLF & _ "This error most commonly occurs when the choice of acceptable CipherSpecs has" & @CRLF & _ "been limited in one of the following ways: " & @CRLF & _ "(a) The server queue manager SSLFipsRequired attribute is set to YES and the" & @CRLF & _ " channel is using a CipherSpec which is not FIPS-certified on the server. " & @CRLF & _ "(b) The server queue manager EncryptionPolicySuiteB attribute has been set to a" & @CRLF & _ " value other than NONE and the channel is using a CipherSpec which does not" & @CRLF & _ " meet the server's configured Suite B security level. " & @CRLF & _ "(c) The protocol used by the channel has been deprecated. Note that IBM may" & @CRLF & _ " need to deprecate a protocol via product maintenance in response to a" & @CRLF & _ " security vulnerability, for example SSLv3 has been deprecated. Continued use" & @CRLF & _ " of SSLv3 protocol is not recommended but may be enabled by setting" & @CRLF & _ " environment variable AMQ_SSL_V3_ENABLE=TRUE. " & @CRLF & _ "(d) The requested CipherSpec has been deprecated. Note that IBM may need to" & @CRLF & _ " deprecate a CipherSpec via product maintenance in response to a security" & @CRLF & _ " vulnerability, for example RC4_MD5_US has been deprecated. Continued use of" & @CRLF & _ " deprecated CipherSpecs is not recommended but may be enabled by setting" & @CRLF & _ " environment variable AMQ_SSL_WEAK_CIPHER_ENABLE=<CipherSpec>. For example," & @CRLF & _ " AMQ_SSL_WEAK_CIPHER_ENABLE=RC4_MD5_US " & @CRLF & _ "" & @CRLF & _ "The channel is '????'; in some cases its name cannot be determined and so is" & @CRLF & _ "shown as '????'. The channel did not start. " & @CRLF & _ "" & @CRLF & _ "The remote host name is 'vmpqg17seapd (10.12.112.81)'." & @CRLF & _ "ACTION:" & @CRLF & _ "Analyse why the proposed CipherSpec was not enabled on the server. Alter the" & @CRLF & _ "client CipherSpec, or reconfigure the server to accept the original client" & @CRLF & _ "CipherSpec. Restart the channel. " & @CRLF & _ "" & @CRLF & _ "This message might occur after applying IBM MQ maintenance because the FIPS and" & @CRLF & _ "Suite B standards are updated periodically. When such changes occur, IBM MQ is" & @CRLF & _ "also updated to implement the latest standard. As a result, you might see" & @CRLF & _ "changes in behavior after applying maintenance. For more information about the" & @CRLF & _ "versions of FIPS and Suite B standards enforced by IBM MQ, refer to the readme:" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ " http://www-01.ibm.com/support/docview.wss?rs=171&uid=swg27006097 " & @CRLF & _ "----- amqccisa.c : 7899 -------------------------------------------------------" & @CRLF & _ "10/26/2021 12:39:50 - Process(8272.244) User(IBMWebSphMQ05) Program(runmqlsr.exe)" & @CRLF & _ " Host(IBMMQ02APWPDCL) Installation(Installation1)" & @CRLF & _ " VRMF(9.0.0.3) QMgr(DTCC)" & @CRLF & _ " " & @CRLF & _ "AMQ9999: Channel '????' to host 'vmpqg17seapd (10.12.112.81)' ended abnormally." & @CRLF & _ "" & @CRLF & _ "EXPLANATION:" & @CRLF & _ "The channel program running under process ID 8272(12328) for channel '????'" & @CRLF & _ "ended abnormally. The host name is 'vmpqg17seapd (10.12.112.81)'; in some cases" & @CRLF & _ "the host name cannot be determined and so is shown as '????'." & @CRLF & _ "ACTION:" & @CRLF & _ "Look at previous error messages for the channel program in the error logs to" & @CRLF & _ "determine the cause of the failure. Note that this message can be excluded" & @CRLF & _ "completely or suppressed by tuning the "ExcludeMessage" or "SuppressMessage"" & @CRLF & _ "attributes under the "QMErrorLog" stanza in qm.ini. Further information can be" & @CRLF & _ "found in the System Administration Guide. " & @CRLF & _ "----- amqrmrsa.c : 938 --------------------------------------------------------" & @CRLF & _ "10/26/2021 12:39:50 - Process(8272.245) User(IBMWebSphMQ05) Program(runmqlsr.exe)" & @CRLF & _ " Host(IBMMQ02APWPDCL) Installation(Installation1)" & @CRLF & _ " VRMF(9.0.0.3) QMgr(DTCC)" & @CRLF & _ " " & @CRLF & _ "AMQ9616: The CipherSpec proposed is not enabled on the server." & @CRLF & _ "" & @CRLF & _ "EXPLANATION:" & @CRLF & _ "The SSL or TLS subsystem at the server end of a channel been configured in such" & @CRLF & _ "a way that it has rejected the CipherSpec proposed by an SSL or TLS client." & @CRLF & _ "This rejection occurred during the secure socket handshake (i.e. it happened" & @CRLF & _ "before the proposed CipherSpec was compared with the CipherSpec in the server" & @CRLF & _ "channel definition). " & @CRLF & _ "" & @CRLF & _ "This error most commonly occurs when the choice of acceptable CipherSpecs has" & @CRLF & _ "been limited in one of the following ways: " & @CRLF & _ "(a) The server queue manager SSLFipsRequired attribute is set to YES and the" & @CRLF & _ " channel is using a CipherSpec which is not FIPS-certified on the server. " & @CRLF & _ "(b) The server queue manager EncryptionPolicySuiteB attribute has been set to a" & @CRLF & _ " value other than NONE and the channel is using a CipherSpec which does not" & @CRLF & _ " meet the server's configured Suite B security level. " & @CRLF & _ "(c) The protocol used by the channel has been deprecated. Note that IBM may" & @CRLF & _ " need to deprecate a protocol via product maintenance in response to a" & @CRLF & _ " security vulnerability, for example SSLv3 has been deprecated. Continued use" & @CRLF & _ " of SSLv3 protocol is not recommended but may be enabled by setting" & @CRLF & _ " environment variable AMQ_SSL_V3_ENABLE=TRUE. " & @CRLF & _ "(d) The requested CipherSpec has been deprecated. Note that IBM may need to" & @CRLF & _ " deprecate a CipherSpec via product maintenance in response to a security" & @CRLF & _ " vulnerability, for example RC4_MD5_US has been deprecated. Continued use of" & @CRLF & _ " deprecated CipherSpecs is not recommended but may be enabled by setting" & @CRLF & _ " environment variable AMQ_SSL_WEAK_CIPHER_ENABLE=<CipherSpec>. For example," & @CRLF & _ " AMQ_SSL_WEAK_CIPHER_ENABLE=RC4_MD5_US " & @CRLF & _ "" & @CRLF & _ "The channel is '????'; in some cases its name cannot be determined and so is" & @CRLF & _ "shown as '????'. The channel did not start. " & @CRLF & _ "" & @CRLF & _ "The remote host name is 'vmpqg17seapd (10.12.112.81)'." & @CRLF & _ "ACTION:" & @CRLF & _ "Analyse why the proposed CipherSpec was not enabled on the server. Alter the" & @CRLF & _ "client CipherSpec, or reconfigure the server to accept the original client" & @CRLF & _ "CipherSpec. Restart the channel. " & @CRLF & _ "" & @CRLF & _ "This message might occur after applying IBM MQ maintenance because the FIPS and" & @CRLF & _ "Suite B standards are updated periodically. When such changes occur, IBM MQ is" & @CRLF & _ "also updated to implement the latest standard. As a result, you might see" & @CRLF & _ "changes in behavior after applying maintenance. For more information about the" & @CRLF & _ "versions of FIPS and Suite B standards enforced by IBM MQ, refer to the readme:" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ " http://www-01.ibm.com/support/docview.wss?rs=171&uid=swg27006097 " & @CRLF & _ "----- amqccisa.c : 7899 -------------------------------------------------------" & @CRLF & _ "10/26/2021 12:39:50 - Process(8272.245) User(IBMWebSphMQ05) Program(runmqlsr.exe)" & @CRLF & _ " Host(IBMMQ02APWPDCL) Installation(Installation1)" & @CRLF & _ " VRMF(9.0.0.3) QMgr(DTCC)" & @CRLF & _ " " & @CRLF & _ "AMQ9999: Channel '????' to host 'vmpqg17seapd (10.12.112.81)' ended abnormally." & @CRLF & _ "" & @CRLF & _ "EXPLANATION:" & @CRLF & _ "The channel program running under process ID 8272(23808) for channel '????'" & @CRLF & _ "ended abnormally. The host name is 'vmpqg17seapd (10.12.112.81)'; in some cases" & @CRLF & _ "the host name cannot be determined and so is shown as '????'." & @CRLF & _ "ACTION:" & @CRLF & _ "Look at previous error messages for the channel program in the error logs to" & @CRLF & _ "determine the cause of the failure. Note that this message can be excluded" & @CRLF & _ "completely or suppressed by tuning the "ExcludeMessage" or "SuppressMessage"" & @CRLF & _ "attributes under the "QMErrorLog" stanza in qm.ini. Further information can be" & @CRLF & _ "found in the System Administration Guide. " & @CRLF & _ "----- amqrmrsa.c : 938 --------------------------------------------------------" & @CRLF & _ "10/26/2021 12:39:50 - Process(8272.246) User(IBMWebSphMQ05) Program(runmqlsr.exe)" & @CRLF & _ " Host(IBMMQ02APWPDCL) Installation(Installation1)" & @CRLF & _ " VRMF(9.0.0.3) QMgr(DTCC)" & @CRLF & _ " " & @CRLF & _ "AMQ9616: The CipherSpec proposed is not enabled on the server." & @CRLF & _ "" & @CRLF & _ "EXPLANATION:" & @CRLF & _ "The SSL or TLS subsystem at the server end of a channel been configured in such" & @CRLF & _ "a way that it has rejected the CipherSpec proposed by an SSL or TLS client." & @CRLF & _ "This rejection occurred during the secure socket handshake (i.e. it happened" & @CRLF & _ "before the proposed CipherSpec was compared with the CipherSpec in the server" & @CRLF & _ "channel definition). " & @CRLF & _ "" & @CRLF & _ "This error most commonly occurs when the choice of acceptable CipherSpecs has" & @CRLF & _ "been limited in one of the following ways: " & @CRLF & _ "(a) The server queue manager SSLFipsRequired attribute is set to YES and the" & @CRLF & _ " channel is using a CipherSpec which is not FIPS-certified on the server. " & @CRLF & _ "(b) The server queue manager EncryptionPolicySuiteB attribute has been set to a" & @CRLF & _ " value other than NONE and the channel is using a CipherSpec which does not" & @CRLF & _ " meet the server's configured Suite B security level. " & @CRLF & _ "(c) The protocol used by the channel has been deprecated. Note that IBM may" & @CRLF & _ " need to deprecate a protocol via product maintenance in response to a" & @CRLF & _ " security vulnerability, for example SSLv3 has been deprecated. Continued use" & @CRLF & _ " of SSLv3 protocol is not recommended but may be enabled by setting" & @CRLF & _ " environment variable AMQ_SSL_V3_ENABLE=TRUE. " & @CRLF & _ "(d) The requested CipherSpec has been deprecated. Note that IBM may need to" & @CRLF & _ " deprecate a CipherSpec via product maintenance in response to a security" & @CRLF & _ " vulnerability, for example RC4_MD5_US has been deprecated. Continued use of" & @CRLF & _ " deprecated CipherSpecs is not recommended but may be enabled by setting" & @CRLF & _ " environment variable AMQ_SSL_WEAK_CIPHER_ENABLE=<CipherSpec>. For example," & @CRLF & _ " AMQ_SSL_WEAK_CIPHER_ENABLE=RC4_MD5_US " & @CRLF & _ "" & @CRLF & _ "The channel is '????'; in some cases its name cannot be determined and so is" & @CRLF & _ "shown as '????'. The channel did not start. " & @CRLF & _ "" & @CRLF & _ "The remote host name is 'vmpqg17seapd (10.12.112.81)'." & @CRLF & _ "ACTION:" & @CRLF & _ "Analyse why the proposed CipherSpec was not enabled on the server. Alter the" & @CRLF & _ "client CipherSpec, or reconfigure the server to accept the original client" & @CRLF & _ "CipherSpec. Restart the channel. " & @CRLF & _ "" & @CRLF & _ "This message might occur after applying IBM MQ maintenance because the FIPS and" & @CRLF & _ "Suite B standards are updated periodically. When such changes occur, IBM MQ is" & @CRLF & _ "also updated to implement the latest standard. As a result, you might see" & @CRLF & _ "changes in behavior after applying maintenance. For more information about the" & @CRLF & _ "versions of FIPS and Suite B standards enforced by IBM MQ, refer to the readme:" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ " http://www-01.ibm.com/support/docview.wss?rs=171&uid=swg27006097 " & @CRLF & _ "----- amqccisa.c : 7899 -------------------------------------------------------" & @CRLF & _ "10/26/2021 12:39:50 - Process(8272.246) User(IBMWebSphMQ05) Program(runmqlsr.exe)" & @CRLF & _ " Host(IBMMQ02APWPDCL) Installation(Installation1)" & @CRLF & _ " VRMF(9.0.0.3) QMgr(DTCC)" & @CRLF & _ " " & @CRLF & _ "AMQ9999: Channel '????' to host 'vmpqg17seapd (10.12.112.81)' ended abnormally." & @CRLF & _ "" & @CRLF & _ "EXPLANATION:" & @CRLF & _ "The channel program running under process ID 8272(21220) for channel '????'" & @CRLF & _ "ended abnormally. The host name is 'vmpqg17seapd (10.12.112.81)'; in some cases" & @CRLF & _ "the host name cannot be determined and so is shown as '????'." & @CRLF & _ "ACTION:" & @CRLF & _ "Look at previous error messages for the channel program in the error logs to" & @CRLF & _ "determine the cause of the failure. Note that this message can be excluded" & @CRLF & _ "completely or suppressed by tuning the "ExcludeMessage" or "SuppressMessage"" & @CRLF & _ "attributes under the "QMErrorLog" stanza in qm.ini. Further information can be" & @CRLF & _ "found in the System Administration Guide. " & @CRLF & _ "----- amqrmrsa.c : 938 --------------------------------------------------------" & @CRLF & _ "10/26/2021 12:39:50 - Process(8272.247) User(IBMWebSphMQ05) Program(runmqlsr.exe)" & @CRLF & _ " Host(IBMMQ02APWPDCL) Installation(Installation1)" & @CRLF & _ " VRMF(9.0.0.3) QMgr(DTCC)" & @CRLF & _ " " & @CRLF & _ "AMQ9616: The CipherSpec proposed is not enabled on the server." & @CRLF & _ "" & @CRLF & _ "EXPLANATION:" & @CRLF & _ "The SSL or TLS subsystem at the server end of a channel been configured in such" & @CRLF & _ "a way that it has rejected the CipherSpec proposed by an SSL or TLS client." & @CRLF & _ "This rejection occurred during the secure socket handshake (i.e. it happened" & @CRLF & _ "before the proposed CipherSpec was compared with the CipherSpec in the server" & @CRLF & _ "channel definition). " & @CRLF & _ "" & @CRLF & _ "This error most commonly occurs when the choice of acceptable CipherSpecs has" & @CRLF & _ "been limited in one of the following ways: " & @CRLF & _ "(a) The server queue manager SSLFipsRequired attribute is set to YES and the" & @CRLF & _ " channel is using a CipherSpec which is not FIPS-certified on the server. " & @CRLF & _ "(b) The server queue manager EncryptionPolicySuiteB attribute has been set to a" & @CRLF & _ " value other than NONE and the channel is using a CipherSpec which does not" & @CRLF & _ " meet the server's configured Suite B security level. " & @CRLF & _ "(c) The protocol used by the channel has been deprecated. Note that IBM may" & @CRLF & _ " need to deprecate a protocol via product maintenance in response to a" & @CRLF & _ " security vulnerability, for example SSLv3 has been deprecated. Continued use" & @CRLF & _ " of SSLv3 protocol is not recommended but may be enabled by setting" & @CRLF & _ " environment variable AMQ_SSL_V3_ENABLE=TRUE. " & @CRLF & _ "(d) The requested CipherSpec has been deprecated. Note that IBM may need to" & @CRLF & _ " deprecate a CipherSpec via product maintenance in response to a security" & @CRLF & _ " vulnerability, for example RC4_MD5_US has been deprecated. Continued use of" & @CRLF & _ " deprecated CipherSpecs is not recommended but may be enabled by setting" & @CRLF & _ " environment variable AMQ_SSL_WEAK_CIPHER_ENABLE=<CipherSpec>. For example," & @CRLF & _ " AMQ_SSL_WEAK_CIPHER_ENABLE=RC4_MD5_US " & @CRLF & _ "" & @CRLF & _ "The channel is '????'; in some cases its name cannot be determined and so is" & @CRLF & _ "shown as '????'. The channel did not start. " & @CRLF & _ "" & @CRLF & _ "The remote host name is 'vmpqg17seapd (10.12.112.81)'." & @CRLF & _ "ACTION:" & @CRLF & _ "Analyse why the proposed CipherSpec was not enabled on the server. Alter the" & @CRLF & _ "client CipherSpec, or reconfigure the server to accept the original client" & @CRLF & _ "CipherSpec. Restart the channel. " & @CRLF & _ "" & @CRLF & _ "This message might occur after applying IBM MQ maintenance because the FIPS and" & @CRLF & _ "Suite B standards are updated periodically. When such changes occur, IBM MQ is" & @CRLF & _ "also updated to implement the latest standard. As a result, you might see" & @CRLF & _ "changes in behavior after applying maintenance. For more information about the" & @CRLF & _ "versions of FIPS and Suite B standards enforced by IBM MQ, refer to the readme:" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ " http://www-01.ibm.com/support/docview.wss?rs=171&uid=swg27006097 " & @CRLF & _ "----- amqccisa.c : 7899 -------------------------------------------------------" & @CRLF & _ "10/26/2021 12:39:50 - Process(8272.247) User(IBMWebSphMQ05) Program(runmqlsr.exe)" & @CRLF & _ " Host(IBMMQ02APWPDCL) Installation(Installation1)" & @CRLF & _ " VRMF(9.0.0.3) QMgr(DTCC)" & @CRLF & _ " " & @CRLF & _ "AMQ9999: Channel '????' to host 'vmpqg17seapd (10.12.112.81)' ended abnormally." & @CRLF & _ "" & @CRLF & _ "EXPLANATION:" & @CRLF & _ "The channel program running under process ID 8272(21620) for channel '????'" & @CRLF & _ "ended abnormally. The host name is 'vmpqg17seapd (10.12.112.81)'; in some cases" & @CRLF & _ "the host name cannot be determined and so is shown as '????'." & @CRLF & _ "ACTION:" & @CRLF & _ "Look at previous error messages for the channel program in the error logs to" & @CRLF & _ "determine the cause of the failure. Note that this message can be excluded" & @CRLF & _ "completely or suppressed by tuning the "ExcludeMessage" or "SuppressMessage"" & @CRLF & _ "attributes under the "QMErrorLog" stanza in qm.ini. Further information can be" & @CRLF & _ "found in the System Administration Guide. " & @CRLF & _ "----- amqrmrsa.c : 938 --------------------------------------------------------" & @CRLF & _ "10/26/2021 12:39:51 - Process(8272.248) User(IBMWebSphMQ05) Program(runmqlsr.exe)" & @CRLF & _ " Host(IBMMQ02APWPDCL) Installation(Installation1)" & @CRLF & _ " VRMF(9.0.0.3) QMgr(DTCC)" & @CRLF & _ " " & @CRLF & _ "AMQ9616: The CipherSpec proposed is not enabled on the server." & @CRLF & _ "" & @CRLF & _ "EXPLANATION:" & @CRLF & _ "The SSL or TLS subsystem at the server end of a channel been configured in such" & @CRLF & _ "a way that it has rejected the CipherSpec proposed by an SSL or TLS client." & @CRLF & _ "This rejection occurred during the secure socket handshake (i.e. it happened" & @CRLF & _ "before the proposed CipherSpec was compared with the CipherSpec in the server" & @CRLF & _ "channel definition). " & @CRLF & _ "" & @CRLF & _ "This error most commonly occurs when the choice of acceptable CipherSpecs has" & @CRLF & _ "been limited in one of the following ways: " & @CRLF & _ "(a) The server queue manager SSLFipsRequired attribute is set to YES and the" & @CRLF & _ " channel is using a CipherSpec which is not FIPS-certified on the server. " & @CRLF & _ "(b) The server queue manager EncryptionPolicySuiteB attribute has been set to a" & @CRLF & _ " value other than NONE and the channel is using a CipherSpec which does not" & @CRLF & _ " meet the server's configured Suite B security level. " & @CRLF & _ "(c) The protocol used by the channel has been deprecated. Note that IBM may" & @CRLF & _ " need to deprecate a protocol via product maintenance in response to a" & @CRLF & _ " security vulnerability, for example SSLv3 has been deprecated. Continued use" & @CRLF & _ " of SSLv3 protocol is not recommended but may be enabled by setting" & @CRLF & _ " environment variable AMQ_SSL_V3_ENABLE=TRUE. " & @CRLF & _ "(d) The requested CipherSpec has been deprecated. Note that IBM may need to" & @CRLF & _ " deprecate a CipherSpec via product maintenance in response to a security" & @CRLF & _ " vulnerability, for example RC4_MD5_US has been deprecated. Continued use of" & @CRLF & _ " deprecated CipherSpecs is not recommended but may be enabled by setting" & @CRLF & _ " environment variable AMQ_SSL_WEAK_CIPHER_ENABLE=<CipherSpec>. For example," & @CRLF & _ " AMQ_SSL_WEAK_CIPHER_ENABLE=RC4_MD5_US " & @CRLF & _ "" & @CRLF & _ "The channel is '????'; in some cases its name cannot be determined and so is" & @CRLF & _ "shown as '????'. The channel did not start. " & @CRLF & _ "" & @CRLF & _ "The remote host name is 'vmpqg17seapd (10.12.112.81)'." & @CRLF & _ "ACTION:" & @CRLF & _ "Analyse why the proposed CipherSpec was not enabled on the server. Alter the" & @CRLF & _ "client CipherSpec, or reconfigure the server to accept the original client" & @CRLF & _ "CipherSpec. Restart the channel. " & @CRLF & _ "" & @CRLF & _ "This message might occur after applying IBM MQ maintenance because the FIPS and" & @CRLF & _ "Suite B standards are updated periodically. When such changes occur, IBM MQ is" & @CRLF & _ "also updated to implement the latest standard. As a result, you might see" & @CRLF & _ "changes in behavior after applying maintenance. For more information about the" & @CRLF & _ "versions of FIPS and Suite B standards enforced by IBM MQ, refer to the readme:" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ " http://www-01.ibm.com/support/docview.wss?rs=171&uid=swg27006097 " & @CRLF & _ "----- amqccisa.c : 7899 -------------------------------------------------------" & @CRLF & _ "10/26/2021 12:39:51 - Process(8272.248) User(IBMWebSphMQ05) Program(runmqlsr.exe)" & @CRLF & _ " Host(IBMMQ02APWPDCL) Installation(Installation1)" & @CRLF & _ " VRMF(9.0.0.3) QMgr(DTCC)" & @CRLF & _ " " & @CRLF & _ "AMQ9999: Channel '????' to host 'vmpqg17seapd (10.12.112.81)' ended abnormally." & @CRLF & _ "" & @CRLF & _ "EXPLANATION:" & @CRLF & _ "The channel program running under process ID 8272(5464) for channel '????'" & @CRLF & _ "ended abnormally. The host name is 'vmpqg17seapd (10.12.112.81)'; in some cases" & @CRLF & _ "the host name cannot be determined and so is shown as '????'." & @CRLF & _ "ACTION:" & @CRLF & _ "Look at previous error messages for the channel program in the error logs to" & @CRLF & _ "determine the cause of the failure. Note that this message can be excluded" & @CRLF & _ "completely or suppressed by tuning the "ExcludeMessage" or "SuppressMessage"" & @CRLF & _ "attributes under the "QMErrorLog" stanza in qm.ini. Further information can be" & @CRLF & _ "found in the System Administration Guide. " & @CRLF & _ "----- amqrmrsa.c : 938 --------------------------------------------------------" Local $aArray = StringRegExp($sString, $sRegex, $STR_REGEXPARRAYGLOBALFULLMATCH) Local $aFullArray[0] For $i = 0 To UBound($aArray) -1 _ArrayConcatenate($aFullArray, $aArray[$i]) Next $aArray = $aFullArray ; 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