Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

regex match exact string

you want to achieve a case insensitive match for the word "rocket" 
surrounded by non-alphanumeric characters. A regex that would work would be:

W*((?i)rocket(?-i))W*
 
PREVIOUS NEXT
Tagged: #regex #match #exact #string
ADD COMMENT
Topic
Name
3+8 =