Validates and filters mentions, removing any that have been edited or deleted. A mention is considered valid if its displayText matches the text at its position.
List of mentions to validate
Current text to validate against
List of valid mentions
Validates and filters mentions, removing any that have been edited or deleted. A mention is considered valid if its displayText matches the text at its position.