Have you considered using a simpler regex such as:
'#^https?://padlet\.com/(\?.+)?$#'
Then breaking apart the latter section with explode to get the video ID?
Related Posts:
- Getting results from wp_oembed_add_provider
- When oEmbed fails, display an alternative
- How to change default width parameter of embedded video in wordpress?
- Correct regex for wp_embed_register_handler
- Is it possible to remove height and width attributes from oEmbed video embeds
- how to escape wp_oembed_get for phpcs
- Fallback for oEmbed content
- Changing Oembed max width based type of page
- WordPress refuses to show oembed URL
- Problems using WP’s oembed function + Instagram + AJAX
- How to increase image size returned from Flickr oEmbed in Twenty Twelve theme
- How to get the oEmbed type (audio, video, image etc.)?
- Disable automatic oEmbed of a youtube url within the content
- Add parameters vimeo videos using wordpress embeds
- oEmbed fails half of the times. Could I reload the request on fail?
- WordPress 5.3.x YouTube oEmbed is not working
- add oembed provider
- How to Hide Ancestors/Threads in Embedded Tweets
- Use Auto Embed with get_post()
- How to modify the HTML formatting of an oEmbed link?
- OEMBED seems to have stopped working
- oEmbed not recognising Vimeo URLs
- Applying an oEmbed filter to a custom post type
- How to oEmbed MySite in WordPress
- Worrisome oembed hits
- What is the correct oembed provider base url for self-hosted wordpress sites
- Why is my oembed function modifying Twitter embed?
- Problem with oEmbed in some themes
- JSON in oembed not being internationalized (using QTranslateX)
- WordPress kills an iframe’s apostrophes
- Add title attribute to oEmbed iframe for accessibility
- What are available arguments for wp_oembed_get?
- How to disable oembed cache service?
- How to set parameters for a Twitter post using wp_oembed_get (remove rounded borders)?
- Use oEmbed for static html
- class-oembed Error
- Wrap iframes/embeds, but do it before oEmbed happens
- When formatting an oEmbed iframe, how (and where) does WordPress determine the height value?
- Avoid embedding YouTube videos and open them in a new window
- What does \’.- mean in a Regular Expression
- How can I exclude one word with grep?
- Matching a space in regex
- Regex: ignore case sensitivity
- grep –ignore-case –only
- Regex AND operator
- Regular Expression to match string starting with a specific word
- How to validate an email address in PHP
- RegEx Ignore Case
- Regular expression to match standard 10 digit phone number
- Python string.replace regular expression
- how to replace quotation marks with \”
- Regex – Does not contain certain Characters
- How to validate an email address in JavaScript
- Regular expression for exact match of a string
- Regular expression : match either of two conditions?
- Regular Expression – Validate Gmail addresses
- How can I remove punctuation from input text in Java?
- Regex: Remove lines containing “help”, etc
- I want to remove double quotes from a String
- Regular expression “^[a-zA-Z]” or “[^a-zA-Z]”
- Finding the complement of a DFA?
- How to ignore whitespace in a regular expression subject string?
- Regex: matching up to the first occurrence of a character
- Using regex to match any character except =
- Regex that matches integers in between whitespace or start/end of string only
- How do you use a variable in a regular expression?
- Remove punctuation from string with Regex
- static variable loop not working in WordPress
- Markup of oEmbed codes in the editor?
- Nested Shortcode Detection
- How to catch images with blank dimensions?
- How to use get_media_embedded_in_content function
- WordPress returns 404 on custom rewrite rule conflict in parameters
- get attributes/part of the gallery shortcode
- Custom Post Type relationship with hierarchical parent and child permalinks
- How to add oEmbed support to my theme?
- Can I use wp_oembed_get to detect a valid embeddable link or is there a better way to do so?
- preg_replace and comment_form_defaults
- Regex to Remove File Extension
- Regex expression for redirecting image URLs to another folder
- Removed custom post type slug but not working for child pages
- How can I remove the first video from a post and feature it?
- Extract links from content
- Pull Youtube Link from 2nd WP_Editor
- Extract Information from post content (using regex?)
- WordPress fails to embed video URL on specific theme
- Facebook embeds fixing with functions.php
- Embed video from streamtape using direct link
- How to automatically search my entire site for any content embedded using oEmbed?
- SEO friendly query vars
- Security when outputing wp_oembed_get code
- Modify oembed code conditionally
- oembed facebook link?
- Why doesn’t wp_oembed_get() for the video post format not work?
- Prevent WordPress from putting around specific element
- Redirect Loop in Regex Moving to HTTPS
- Avoid too long words in a post title, post content or comment but only if its not a url
- Replace Dash (-) and Underscore ( _ ) with Space
- Test for IP in Array Always Fails on First IP
- How to cut a section of a URL from a string with a regular expression?