D
D
Dmitry Avramenko2018-09-24 19:43:02
Java
Dmitry Avramenko, 2018-09-24 19:43:02

How to remove a word?

How to remove a word if after it there is such a sequence: @[email protected]
For example:
Input line: He was very @[email protected]
Output: He was

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2018-10-04
@sektr63

Something I did not understand what is the difficulty... You
call an analogue preg_replace()for the expression in your language:
\[email protected]\[email protected]
Add spaces to taste.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question