D
D
Dmitry Bashinsky2018-02-22 17:43:09
Regular Expressions
Dmitry Bashinsky, 2018-02-22 17:43:09

How to remove spaces at the beginning?

Hi
there is a line:

app=asdasdasdasdasd
dialogId=0DE442F0E357F012FA4F7ADE2D825ABB
step=7
prompt=  [1P]Рекомендую  надіслати sms на номер 3344 з того номера телефону, який Ви вказали при оформленні продукту. У тексті повідомлення просто вкажіть останні 4 цифри номера карти або 9 цифр кредитного договору.Вартість смс - згідно з тарифами Вашого оператора.

There may not be spaces after the equal and this [.*]
I'm trying to get the value after prompt=
But it's important to remove the first spaces if they are and square brackets with text and everything else should be in Value, not in groups!
How to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2018-02-22
@slo_nik

Good afternoon.
Try starting with the following https://regex101.com/r/buP26T/1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question