What i have
- Create a title (input), body (input) and a mention user (input), 3 separated inputs
What i want
I want to create a mentioned functionality to a post like facebook,twitter where in the body you can add user to mention using @ (users are aplhanumeric only)
What have i done?
search users when press @ key and added to post body (the process to show users bla bla)
input v-on:keyup.50="searchUsers()" type="text"
What i need?
I have no clue which is the best way how to extract that @username1 @username2 added to the post body to later insert it in the mentioned database, maybe:
- Regex?
- another one??
Tech used > Vue and Node
Any articles or information to this matter will be appreciated