LabelRules
When label checks must repeat for each job, LabelRules turns requirements described in plain English into approved selection and value-check rules. It starts with an invited trial. PatternBench does not publish rules into it.
FREE JAVASCRIPT REGEX WORKBENCH
Updated
Regex test cases compare a pattern’s result with an expected match or non-match for each supplied value. PatternBench checks up to 50 cases with fresh JavaScript regex state for each value.
Free to use. No account, email address or trial. Your work stays in your browser.

Use anchors when the whole reference must match. Without them, finding a matching substring may be insufficient for the rule you intend to check.

Add a positive case and state the expected match. Include representative boundaries, such as the exact permitted number of digits. Each case can contain up to 2,000 UTF-16 code units.

Add a negative case and select the non-match expectation. Run the cases and compare actual results with expectations, including rejected values rather than checking successes alone.

Up to 50 cases can help expose mistakes, but do not prove correctness for every input. Runs use a disposable worker with cancellation and a 1.5-second limit. Generated snippets do not inherit those protections. This is not a Jest or JUnit suite exporter. Save a local project JSON file explicitly if you need to keep your work.
For developers, integrators and people checking exact values before using them in another system.
A USEFUL STARTING POINT
A pattern can accept the correct reference and still accept an incorrect one. State both expected outcomes before running the cases so that overly broad matches become visible.
FROM QUESTION TO EVIDENCE
Enter the pattern and intended whole-value boundary.
Add values that should match and values that should not.
Run cases and read actual results against expectations.
For a reference made from two uppercase letters, a hyphen and four digits, check a correct reference and a near miss with the wrong digit count. Neither a pass nor a match proves that the reference exists in a database.
WHEN CHECKS REPEAT
These SmartFACT services handle work that repeats across a team or on each job. The workbench remains free and independent.
When label checks must repeat for each job, LabelRules turns requirements described in plain English into approved selection and value-check rules. It starts with an invited trial. PatternBench does not publish rules into it.
When expected components depend on order data, KitProof builds checklists from approved plain English rules and checks each scan against them. It is in early access, with scope agreed at onboarding.
BEFORE YOU START
They can expose a pattern that accepts too much.
No. It covers the supplied cases only.
Up to 50, each containing up to 2,000 UTF-16 code units.
Save a local project JSON file explicitly. There is no automatic cloud save.
Patterns and replacement text are limited to 4,096 UTF-16 code units each; samples to 100,000. Up to 1,000 matches and 64 capture groups are supported, with 200,000 retained text/output code units. Cases are limited to 50 values of 2,000 code units each. Highlighted preview shows 6,000 sample code units and the table 100 matches; complete results are used for replacement and export. The engine is the current browser’s JavaScript RegExp, not PCRE, .NET or another dialect. Matching a shape does not prove that a real-world value exists. Syntax explanations show up to 512 elements. Project files are limited to 1.5 MB. Generated snippets do not include the workbench’s worker or result limits.
Patterns, sample text, replacement text, cases and results stay in this tab’s memory. Workers run on this device and are discarded after completion, edits, cancellation or the execution limit. Nothing is uploaded, put in a page address or saved automatically. Refreshing or closing the tab discards the work. Clipboard copies, extraction exports, generated code and project files can contain your actual values. Opening a project reads the selected file locally and replaces the workbench only after validation. The tool has no analytics; these public pages offer optional suite analytics separately.
ONE SMALL JOB, DONE WELL
Open the free tool and start with one known example.
THE SMARTFACT SUITE
Automate factory decisions with rules you describe in plain English. Explore focused SmartFACT services, plus free tools for everyday checks.
Describe label rules in plain English. Automatically select layouts, resolve customer codes and check each job before printing.
Explore LabelRules ↗Turn plain English component rules into automatic kit checklists, then check scans against the expected parts and quantities.
Explore KitProof ↗Turn plain English rules into automatic step selection for each unit, with required evidence and a record of completed work.
Explore WorkSteps ↗Apply approved product rules and calculations automatically to turn dimensions and options into manufacturing requirements.
Register early-access interest ↗Maintain reference tables with ConfigSheets or bring shop orders into SmartFACT through reviewed connectors. Check changes and deliver data to the products that use it.
Explore SmartFACT Data ↗Turn plain English rules into automatic order checks and destination selection, with controlled production release.
Register early-access interest ↗Scan the work order and the parcel choice to book the courier and print the labels. Approved plain English rules recommend or choose the parcel.
Explore ParcelOffice ↗Scan an empty container to send the right refill request to stores. Approved plain English rules set the stores queue, priority, ticket printer and escalation.
Explore RefillFlow ↗Label each offcut, find a suitable length before cutting new stock and record what you used. Approved plain English rules decide what to keep and where it goes.
Explore RemnantRack ↗Check a shared tool before handover, record who has it and keep damaged or overdue tools out of the next issue. Explore an invited trial for one factory crib.
Explore ToolCustody ↗Receive, put away, reserve and issue stores material with barcode checks, keeping held, reserved and available stock apart. Explore an invited trial for one stockroom.
Explore StoresFlow ↗Follow a lot or serial number through the records your factory already keeps, with the source of each link and the gaps shown. Explore an invited trial with two declared sources.
Explore LotTrail ↗Scan an identified unit to get its approved final-inspection checks, then record exact readings with their result, holds and release history.
Register early-access interest ↗Book returned units in, recover and label the usable parts, release them independently and record the unit each goes into. Explore an invited trial for one product family.
Explore ReclaimStation ↗See the text and key events your keyboard scanner sends. Compare them with the value you expected.
Test a scanner ↗Print a known PDF, measure its reference marks and compare scans from the printed codes.
Check a print ↗Create 100 × 50 mm bin and rack cards with Code 128 or QR, from one record or a CSV.
Make bin cards ↗Count stock by location with a barcode scanner, compare it with a stock file and export the results. No account needed.
Start a free count ↗See exactly what a scanned barcode contains, with hidden characters shown and GS1 fields, check digits and dates explained. No account needed.
Inspect a barcode ↗Scan a reference and each label, see an exact match or the first difference, and download the results. No account needed.
Start a free comparison ↗Scan an item or location, note what needs attention, print a review tag and keep a review list. No account needed.
Make a free tag ↗Load your own parts and locations CSV, scan a code and see every location it lists. No account needed.
Start a free lookup ↗Check cartons, pallets or serial numbers against a list with a phone or scanner and see what is missing. No account needed.
Start a free check ↗Check CSV and JSON files exactly as written, preview a column mapping and compare two versions by key. No account needed.
Check a file free ↗Time work cycles and changeovers on a phone, record interruptions with reasons and download the results. No account needed.
Start a free study ↗Label the offcuts on your rack, find a piece long enough before cutting new stock and record what you used. No account needed.
Track offcuts free ↗Load one or two CSV exports and follow a lot or serial forwards or backwards, with the row behind every link. No account needed.
Start a free trace ↗Record the parts recovered from each return, label them with a QR code, check them and record the unit each one goes into. No account needed.
Track recovered parts free ↗Generate GUIDs, UUID v4 and v7, ULIDs and Nano IDs, format and download batches, or inspect a UUID in your browser. No account needed.
Generate identifiers ↗Inspect and edit text, hex, Base64 and binary bytes in your browser, reveal hidden characters and compare byte sequences. No account needed.
Inspect some bytes ↗Test JavaScript regular expressions in your browser, inspect matches and captures, preview replacements and check expected cases. No account needed.
You are hereStep-by-step guides and interactive demonstrations for the SmartFACT suite. Read the instructions, watch a task or practise with real product screens and sample data.
Open SmartFACT Help ↗