Myregextester.com is the premier online regular expressions tester that allows visitors to construct, test, and optimize regular expressions.

 Click here to manually set the number of rows for match/replacement textareas. Regex Cheat Sheet Regex Tutorials Regex Book

URL SOURCE:   FILE SOURCE:

MATCH PATTERN:

REPLACEMENT PATTERN:

OPERATION: # # USE .NET FLAGS: i
x
m
s
 Help SHOW MATCH ARRAY:    EXPLAIN:  OPTIMIZE:    SHOW CODE: PHP
ASP
VB.NET
C#.NET
Java
JS
DELIM: HIGHLIGHT MATCHES:      GEN SAMPLES:   
    Save example     Help     FROM: TO: 

PASSWORD RESTRICTIONS:

Allow only these characters:  (any character)  ]
At Least  Total Characters
No More Than   Total Characters
At Least  Lowercase Characters (a-z)
At Least  Uppercase Characters (A-Z)
At Least  Numeric Characters (0-9)
At Least  Special Characters in [^a-zA-Z0-9]  ]
Disallow sequential alphanumeric sequences of or more (i.e. 123... abc... ABC...)
Disallow repeating characters of or more (i.e. 11... aa... AA... %%...)

WORD LIST:



SOURCE TEXT:

HIGHLIGHTED MATCHES:

Select All (to copy etc.)
CAPTURE GROUPS Help
0
 
1
 
2

Public Sub New()

        ' This is very light, pale red.  
        Reported_Color = RGB(255, 200, 200)
        Reported_Subject = "New incident report (County ID: [county_id])"
        Reported_Body = "A new incident report has been created for the following client:<br><br>" & _
                    "Name: [client_name]<br>" & _
                    "Agency ID: [tabor_id]<br>" & _
                    "County ID: [county_id]<br>" & _
                    "Incident date: [incident_date]<br>" & _
                    "Submitted by: [submitter_name]<br><br>" & _
                    "The incident is currently pending review by [admin_reviewer]"


        ' This is very light, pale green.  
        Finalized_Color = RGB(230, 200, 230)
        Finalized_Subject = "Incident report (County ID: [county_id])"
        Finalized_Body = "An incident report has been finalized for the following client:<br><br>" & _
                    "Name: [client_name]<br>" & _
                    "Agency ID: [tabor_id]<br>" & _
                    "County ID: [county_id]<br>" & _
                    "Incident date: [incident_date]<br>" & _
                    "Submitted by: [submitter_name]"


        ' This is white.  
        Returned_Color = RGB(255, 255, 255)
        Returned_Subject = "Incident report returned - action needed (County ID: [county_id])"
        Returned_Body = "The incident report you submitted for [client_name] has been returned by [admin_reviewer] for revisions.  " & _
                                "Please revise and resend the incident report as soon as possible.<br><br>" & _
                    "Agency ID: [tabor_id]<br>" & _
                    "County ID: [county_id]<br>" & _
                    "Incident date: [incident_date]"


    End Sub

RESULTS:

Select All (to copy etc.)
Execution Time(sec.):
0.000035

Raw Match Pattern:
(?m)^\s*(\w+) = ((?:[^\n\r]*_(?:\r?\n)){1,}[^\n\r]*|[^\n\r]*(?=\r?\n))

$matches Array:
(
    [0] => Array
        (
            [0] =>         Reported_Color = RGB(255, 200, 200)
            [1] =>         Reported_Subject = "New incident report (County ID: [county_id])"
            [2] =>         Reported_Body = "A new incident report has been created for the following client:<br><br>" & _
                    "Name: [client_name]<br>" & _
                    "Agency ID: [tabor_id]<br>" & _
                    "County ID: [county_id]<br>" & _
                    "Incident date: [incident_date]<br>" & _
                    "Submitted by: [submitter_name]<br><br>" & _
                    "The incident is currently pending review by [admin_reviewer]"
            [3] =>         Finalized_Color = RGB(230, 200, 230)
            [4] =>         Finalized_Subject = "Incident report (County ID: [county_id])"
            [5] =>         Finalized_Body = "An incident report has been finalized for the following client:<br><br>" & _
                    "Name: [client_name]<br>" & _
                    "Agency ID: [tabor_id]<br>" & _
                    "County ID: [county_id]<br>" & _
                    "Incident date: [incident_date]<br>" & _
                    "Submitted by: [submitter_name]"
            [6] =>         Returned_Color = RGB(255, 255, 255)
            [7] =>         Returned_Subject = "Incident report returned - action needed (County ID: [county_id])"
            [8] =>         Returned_Body = "The incident report you submitted for [client_name] has been returned by [admin_reviewer] for revisions.  " & _
                                "Please revise and resend the incident report as soon as possible.<br><br>" & _
                    "Agency ID: [tabor_id]<br>" & _
                    "County ID: [county_id]<br>" & _
                    "Incident date: [incident_date]"
        )

    [1] => Array
        (
            [0] => Reported_Color
            [1] => Reported_Subject
            [2] => Reported_Body
            [3] => Finalized_Color
            [4] => Finalized_Subject
            [5] => Finalized_Body
            [6] => Returned_Color
            [7] => Returned_Subject
            [8] => Returned_Body
        )

    [2] => Array
        (
            [0] => RGB(255, 200, 200)
            [1] => "New incident report (County ID: [county_id])"
            [2] => "A new incident report has been created for the following client:<br><br>" & _
                    "Name: [client_name]<br>" & _
                    "Agency ID: [tabor_id]<br>" & _
                    "County ID: [county_id]<br>" & _
                    "Incident date: [incident_date]<br>" & _
                    "Submitted by: [submitter_name]<br><br>" & _
                    "The incident is currently pending review by [admin_reviewer]"
            [3] => RGB(230, 200, 230)
            [4] => "Incident report (County ID: [county_id])"
            [5] => "An incident report has been finalized for the following client:<br><br>" & _
                    "Name: [client_name]<br>" & _
                    "Agency ID: [tabor_id]<br>" & _
                    "County ID: [county_id]<br>" & _
                    "Incident date: [incident_date]<br>" & _
                    "Submitted by: [submitter_name]"
            [6] => RGB(255, 255, 255)
            [7] => "Incident report returned - action needed (County ID: [county_id])"
            [8] => "The incident report you submitted for [client_name] has been returned by [admin_reviewer] for revisions.  " & _
                                "Please revise and resend the incident report as soon as possible.<br><br>" & _
                    "Agency ID: [tabor_id]<br>" & _
                    "County ID: [county_id]<br>" & _
                    "Incident date: [incident_date]"
        )

)