Regular Expressions 101

Sponso⁠rs

Community Library

Your search did not match anything

Community Library Entry

0

Regular ExpressionOpen Workspace

/
^\d\w{4}\.$
/
gm

Description
Created·2019-03-06 16:00
Type·Match
Flavor·JavaScript

Task

You have a test string S. Your task is to match the pattern Xxxxx.
Here, x denotes a word character, and X denotes a digit. S must start with an X digit and end with '.' symbol. S should be 6 characters long only.

Submitted by Anonymous
Open Workspace