S
S
Sergey Pugovkin2017-06-04 14:54:15
PHP
Sergey Pugovkin, 2017-06-04 14:54:15

How to "reveal" the escaping of a specific character?

How to "reveal" the escaping of a specific character?
Ie, the line is given:
qwerty\|asdfg\\|zxcvb\`123\\\|456\\\789
It should, accordingly, be brought to the form:
qwerty|asdfg\|zxcvb\`123\456\\789
Ie . it is necessary to remove the escaping of the character |, taking into account the fact that the escaping character itself - \ - can be escaped.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
Hakito, 2017-06-04
@Driver86

https://stackoverflow.com/a/4298836/7283603

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question