function createTagsArray(rawText) {
  let matches = String(rawText).match(/\s*#[a-z]{1}[a-z0-9_]+/ig)

  if (matches) {
    for (var i = 0, j = matches.length; i < j; i++) {
      matches[i] = matches[i].replace('#', '')
    }
  }

  return matches
}
/**
 * Takes a string to match for tags and returns an array of tags derived from the string
 *
 * @param {string} rawText - the string to parse
 * @return {array} tags
 */
Takes a string to match for tags and returns an array of tags derived from the string
@param {string} rawText - the string to parse
@return {array} tags
Takes a string to match for tags and returns an array of tags derived from the string @param { string } rawText - the string to parse @return { array } tags
function createTagsArray(rawText) {
  let matches = String(rawText).match(/\s*#[a-z]{1}[a-z0-9_]+/ig)
  if (matches) {
    for (var i = 0, j = matches.length; i < j; i++) {
      matches[i] = matches[i].replace('#', '')
    }
  }
  return matches
}
function createTagsArray ( rawText ) { let matches = String ( rawText ) . match ( / \s*#[a-z]{1}[a-z0-9_]+ / ig ) if ( matches ) { for ( var i = 0 , j = matches . length ; i < j ; i ++ ) { matches [ i ] = matches [ i ] . replace ( '#' , '' ) } } return matches }
Takes a string to match for tags and returns an array of tags derived from the string
 @param {string} rawText - the string to parse
 @return {array} tags
Takes a string to match for tags and returns an array of tags derived from the string @param { string } rawText - the string to parse @return { array } tags