Regex help please

bmdivers

Новичок
Регистрация
15.09.2012
Сообщения
8
Благодарностей
0
Баллы
1
Hi everybody,

I want to use regex to isolate within a web page source code, a part as following:

<script>bigPipe.onPageletArrive ................................................ id="mall_post_390415531069212"................................................</script>

The regex in "pseudo code"=> Start with <script>, contains id="mall_post_390415531069212", ends with </script>.

Thank you for your help.
 
Регистрация
02.07.2010
Сообщения
387
Благодарностей
101
Баллы
43
<script>.*id="mall_post_\d+.*</script>
 

bmdivers

Новичок
Регистрация
15.09.2012
Сообщения
8
Благодарностей
0
Баллы
1
Many thanks, it worked :-)
 

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