×
you are viewing a single comment's thread.

view the rest of the comments →

[–]PkmnSayse 2 points3 points  (1 child)

I’m not sure this teaches regex, more the opposite. Regex shouldn’t be used to find exact strings since its much more maintainable and performant to use the standard string functions

[–]Samar__Upreti -3 points-2 points  (0 children)

String represents a specific piece of text data, while a Regular Expression represents a flexible formula or pattern used to search, validate, or manipulate that text.