regexmatch.dev
Explore
Open main menu
Save & Share
Facebook
Twitter
Tumblr
E-Mail
Pinterest
LinkedIn
Reddit
images url match in text
Published on Tue Mar 01 2022
Regex
Test String
https://pp.vk.me/c624121/v624121992/3cf22/YRIx_w-QySg.jpg https://pp.vk.me/c624121/v624121992/3cf22/YRIx_w-QySg.png https://pp.vk.me/c624121/v624121992/3cf22/YRIx_w-QySg.jph https://pp.vk.me/c624121/v624121992/3cf22/YRIx_w-QySg.jjg https://pp.vk.me/c624121/v624121992/3cf22/YRIx_w-QySg.bmp https://pp.vk.me/c624121/v624121992/3cf22/YRIx_w-QySg.gif https://pp.vk.me/c624121/v624121992/3cf22/YRIx_w-QySg.jpeg
Additional matching regexes for
images url match in text
image.ext check
regexp for match images extension (png,jpg,jpeg,gif)
Shortcode_filter
CLeans your HTML code from shortcodes and images :)
Match text in square brackets
Drupal7 Media Element in node body - A regex to match the media module square bracketted token/element for embedde images in node body. Use case - using the body text trimmed in a meta description - need to remove the media element as well as strip tags.
URL MATCH
URL MATCH
Remove _1 suffix from image filenames
Remove autogenerated file name suffixes from images whilst preserving the extension (e.g. .jpg) These suffixes are usually added when filename already exists in the directory an image is being saved to by an application. Magento is a fine example of a system that does this.
Match Gmail Email
Match Gmail Email
Match 5 forward slashes
Match 5 forward slashes
re_ip
match IP:port in text
date regex
match dd-mm-yyyy
ipv6
Match an ipv6 address