I am looking to create a system which on signup will create a subdomain on my website for the users account area.
Cisco Certified Network Associate Exam,640-802 CCNA All Answers ~100/100. Daily update
Cisco Certified Network Associate Exam,640-802 CCNA All Answers ~100/100. Daily update
.replace(/([^s]?s)$/, '')
I thought [^abc]
meant "not any of these characters" but in the code above, it's replacing the s at the end of the word only if there's an s before it. How would I make this regex into: replace the s at the end of the word, only if there's no s before it?
Comments
Post a Comment