How to remove a comma from a result?

bambinou

Client
Регистрация
22.08.2011
Сообщения
430
Благодарностей
21
Баллы
18
Hello,

I am having a problem, I would like to remove a single comma from certain regex results I am getting: {-RegExp.RegExp-|-{-FieldData.FieldData-|-●1●5●7●8●1●4●-|-≡1≡0≡7≡6≡3≡3≡8≡8≡0≡6≡-}-|-(?<=\=\=\"\>).*(?=\<\/h2\>)-|-0-}


Any idea how to do this please?

Thank you

BamBam
 

keytri

Client
Регистрация
28.08.2011
Сообщения
157
Благодарностей
10
Баллы
18
Use "Replace Macros" to remove comma to this result
{-String.Replace-|-your result-|-,-|--}
 

bambinou

Client
Регистрация
22.08.2011
Сообщения
430
Благодарностей
21
Баллы
18
Ok Got it,

I tok the last result and added this:
{-JS.Execute-|-var str1 = "{-FieldData.FieldData-|-●1●5●7●8●1●4●-|-≡1≡6≡2≡2≡5≡4≡6≡1≡7≡6≡-}"; var str2 = str1.replace(/\,/g,""); -}

All working now.


BamBam
 

bambinou

Client
Регистрация
22.08.2011
Сообщения
430
Благодарностей
21
Баллы
18
Thanks Keytri,

I did not see your reply until I refreshed the page, your macro way of doing it is much easier. thank you
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)