regex

Source:

Members

(static, constant) RE_ATTRIBUTES

Regular expression for matching a HTML attribute and tag names, also for matching shortcode attributes and names

Source:

(static, constant) RE_ATTRIBUTE_WITHOUT_VALUE

Regular expression for matching a single attribute without value

Source:

(static, constant) RE_ATTRIBUTE_WITH_VALUE

Regular expression for matching a single attribute with value

Source:

(static, constant) RE_FIRST_OR_LAST_QUOTE

Regular expression for matching the first or last quote of a string used for removing them

Source:

(static, constant) RE_IMAGE

Regular expression for matching a image URLs

Source:

(static, constant) RE_URL_PARAMETER

Regular expression for matching a URL parameters

Source:

(static, constant) RE_VIDEO

Regular expression for matching a video URLs

Source:

(static, constant) RE_VIMEO

Regular expression for matching a Vimeo video links and extracting their ID, works with both embed and watch URLs, channels and groups

Source:

(static, constant) RE_YOUTUBE

Regular expression for matching a YouTube video links and extracting their ID, works with both embed and watch URLs

Source: