# Adding an ability to have a link check before embedding

**URL:** <https://forum.appflowy.com/t/adding-an-ability-to-have-a-link-check-before-embedding/91>\
**Category:** Feature Requests\
**Tags:** editor\
**Created:** [August 14, 2023, 10:29am UTC](https://forum.appflowy.com/t/adding-an-ability-to-have-a-link-check-before-embedding/91 "2023-08-14T10:29:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yatendra](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.appflowy.com/yatendra/32/19_2.png) [@yatendra](https://forum.appflowy.com/u/yatendra)\
**Post date:** [August 14, 2023, 10:29am UTC](https://forum.appflowy.com/t/adding-an-ability-to-have-a-link-check-before-embedding/91/1 "2023-08-14T10:29:53Z")

</div>

## Description

There should be a mechanism to check whether the inserting text is in a valid link format. I think we can use regex for link validation.

![ezgif.com-video-to-gif](https://us1.discourse-cdn.com/flex016/uploads/appflowy/original/1X/d5d27e1daf1a762a5b5b5859071c33470da6cded.gif)

## Ideal Behaviour

![ideal-link](https://us1.discourse-cdn.com/flex016/uploads/appflowy/original/1X/af2cfa6cb153205787c6b95ec4ec8f6c4bc0c0cc.gif)
