Created
August 6, 2020 23:50
-
-
Save jhon0010/a38cf40f1cc9dc9973ad5b3ca9f80af2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let text = `RégExr was created á by gskinner.com, and is proudly hosted by Media Temple. | |
capture groups. Explain describes your expression in plain English.`; | |
let regex: RegExp = /^([A-Za-z0-9áéíóú]+(\s|\.|\,)*)+$/g; | |
console.log(`${regex.test(text)}`); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment