IO - SteemConnect v2 Boilerplate @0.0.29 - Regex for Tags.

in iambya •  6 years ago  (edited)

Current Code
const Tags = post.tags.split(',').map(tag => tag.replace(/[^a-zA-Z0-9]+/g, "").toLowerCase());

Just securing that no one can send a wrong TAG. Next step could be to avoid duplicate TAGS.

Currently Using: React & Redux
Contact Me if you need some help with SteemConnect v2.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!