Answer the question
In order to leave comments, you need to log in
What is the correct way to write a regular expression to search for a string?
Hello.
You need to write a regular expression to search for specific strings. The case doesn't matter.
Allowed special characters in a string: . and _
Everything
else
like
!
@
#
$%^&*(()-= etc.
is
forbidden
/[\w\.]+
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question