P
P
Pshkll2015-12-19 13:09:10
PHP
Pshkll, 2015-12-19 13:09:10

Pull link from tags, how?

Hello!
There is a text:
[qwe]/images/.../image.jpg[/qwe]bla-bla-bla-bla-bla-bla
... /images/.../image.jpg and assign it to a variable.
How can I do that? PHP or WP+PHP

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Cat Anton, 2015-12-19
@Pshkll

Option 1:
php.net/manual/ru/function.strpos.php
php.net/manual/ru/function.substr.php Option
php.net/manual/ru/book.pcre.php
php.net/manual /en/function.preg-match.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question