In Ruby I have a regex to get a string formatted like "@xxx":
(/(?<!\S)@[A-Za-z0-9\-]+/)
I also need this regex on the client side, but JavaScript can't read this.
How can I change this regex to JavaScript?
Aucun commentaire:
Enregistrer un commentaire