private string noemoji(string str)
        {
            var result = "";

            if (str != null && str != "")
            {
                var nextOffset = 0;
                var regEx      = new Regex(@"(\[emot=(?<emoji>.*?)/\])", RegexOptions.IgnoreCase | RegexOptions.Singleline);
                foreach (Match match in regEx.Matches(str))
                {
                    if (match.Index == nextOffset)
                    {
                        nextOffset = match.Index + match.Length;
                    }
                    else if (match.Index > nextOffset)
                    {
                        result    += str.Substring(nextOffset, match.Index - nextOffset);
                        nextOffset = match.Index + match.Length;
                    }
                }
                if (nextOffset < str.Length)
                {
                    result += str.Substring(nextOffset);
                }
            }
            return(result);
        }
        public CommentPage()
        {
            FloorsList      = new ObservableCollection <commentdetail>();
            commentList     = new ObservableCollection <commentdetail>();
            commentListTemp = new List <commentdetail>();

            result                   = new commentresult();
            result.commentList       = new List <int>();
            result.commentContentArr = new Dictionary <int, comment>();

            InitializeComponent();
            DataContext = this;

            this.Loaded += CommentPage_Loaded;
        }