-4

How convert this pattern

Some_Word>[\n\t\r].*?[\n\t\r].*?[\n\t\r].*?<symbol>BK<\/symbol>

When I'm used this with the less command, then I not found nothing.

P.S. I checked here that patter with the text and it work correctly:

before bla bla<Some_Word>
ssssssssssssssssssss>
dddddddddddddddddddd>
ccccccccccccccccccccc <symbol>BK</symbol>
after bla bla>
fedorqui
  • 275,237
  • 103
  • 548
  • 598
slesh
  • 1,902
  • 1
  • 18
  • 29
  • It's unclear what you mean. What are you trying to do? Can you rephrase *"to be less recognize his?"* – ʰᵈˑ Apr 21 '16 at 10:35

1 Answers1

0

Try this

Some_Word>.*?<symbol>BK<\/symbol>

Regex demo

Explanation:
.: Any character except line break sample
*: Zero or more times sample
?: Once or none sample
\: Escapes a special character sample

Tim007
  • 2,557
  • 1
  • 11
  • 20
  • not working for me: /Some_Word>.*?BK<\/symbol> and ?Some_Word>.*?BK<\/symbol> found nothing – slesh Apr 21 '16 at 11:08