Hello,
Here is a script to test a string of characters according to a RegEx.
For example, this is a test for a phone number.
The parameters are:
RegEx: RegEx format directly or via a text column (do not include / at the beginning and at the end)
Text: String to test
ReturnTrue: a column or a string or a value to return if the string matches the regex.
ReturnFalse: a column or a string or a value to return if the string does not conform to the regex.
link for YC
https://RegEx-Test.manun2.repl.co