Regular Expressions 101

Community Patterns

0

belcorp

PCRE2 (PHP >=7.3)
test
Submitted by anonymous - a year ago
0

Php

PCRE2 (PHP >=7.3)
Php
Submitted by Nickname - a year ago
0

find between

PCRE (PHP <7.3)
find between
Submitted by anonymous - a year ago

Get the name of the image

1

Regular Expression
PCRE (PHP <7.3)

/
(?!.*?\/)(?P<image>.*?)(?:\.(?:jpg|png))
/
g

Description

Loading markdown...
Submitted by strubloid - 6 years ago