Medium
What does this RegEx do : /(^\w+)(?=\.\w+)/old_$1/gm
Author: Nick LAM YEE MANStatus: PublishedQuestion passed 124 times
Edit
1
Community EvaluationsNo one has reviewed this question yet, be the first!
4
Which of the following is not a regular expression?3
Count the number of matches of the RegEx `a*` in the sentence: `I went to my grandparent house`2
Write a regular expression that matches a character that repeats exactly 6 times.5
Find all the strings that match the regular expression: `/abracadabra{2,4}/gmi`2
Write a regular expression that matches anything that looks like an HTML tag.2
Find the intruder in the following regex: `^[a-zA-Z0-9_-]+$`2
Write a regular expression to extract a file name from a path, except if the file is a .html file