Block or Report
Block or report aMcCode
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned Loading
-
-
-
-
Using Regex to Find All Text in Sing...
Using Regex to Find All Text in Single Quotes 1# Matching All Text in Single Quotes
23In my daily work, I am required to parse text generated by various systems. One such system generates a data entry audit trail with output that looks like the text below. When I need to compare the old value entered to the new value entered for a given datapoint, I search the audit trail for the latest entry prior to the current entry based on an an audit date. Once I have that specific audit entry, I search for the specific data entered. Since I can count on the validated system that produces the audit trail to output the audit entry in a specific way, i.e. "User entered 'some value'", I can use regex to extract the value. I also need to find where the user has entered an empty value.
45The purpose of this tutorial is to detail how, ```((?<=\').*(?=\'))|(User entered empty\.)```, the regex or regular expression pattern for this specific search works.
-
-
hand-me-up_amcn
hand-me-up_amcn PublicForked from olivelliott/hand-me-up
A MERN Stack e-commerce site where users can donate clothes and purchase products with an opportunity to donate to a charity or organization of their choice.
JavaScript
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.