Hi,
Can you please explain this Regex expression meaning which is in isMatch activity
Regex Expression:[1]*$
Thanks
Likitha
-
a-zA-Z0-9- ↩︎
Hi,
Can you please explain this Regex expression meaning which is in isMatch activity
Regex Expression:[1]*$
Thanks
Likitha
a-zA-Z0-9- ↩︎
This takes anything from start of the line to end of the line if it is Alphanumeric (alphabet or numbers).
^ - Indicates start of the line.
$ - End of the line.
a-zA-Z - Alphabets irrespective of the case.
0-9 - Numbers
Hi,
This will match the string which consist of only hyphen or alphanumeric characters including empty string.
Regards,
The regular expression ^[a-zA-Z0-9-]*$
matches any string that contains only letters (uppercase or lowercase), digits or hyphens.
^
and $
characters are anchors that match the start and end of a line respectively.*
character matches zero or more occurrences of the preceding character. [a-zA-Z0-9-]
define a character set that matches any uppercase letter, lowercase letter, digit or hyphen.Hope it will help you
Regards
Gokul
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.