Regex for multiple indicators in a single html line.


Changes to the LIVEcommunity experience are coming soon... Here's what you need to know.

L0 Member

Regex for multiple indicators in a single html line.



TI source-:


This TI gives two indicators in a single html tag as given below


<tr><td><font size=2></font>&nbsp;&nbsp;</td><td><font size=2></font>&nbsp;&nbsp;</td></tr>


My config file for the TI-:


default: null
interval: 257
sudden_death: true
confidence: 100
direction: inbound
share_level: green
type: URL
ignore_regex: ^(?!<tr><td>)
regex: <tr><td><font size=2>([^<]+)</font>&nbsp;&nbsp;</td><td><font size=2>([^<]+)</font>&nbsp;&nbsp;</td></tr>
transform: \1 \2
interval: 619
source_name: norse.malware



The output of this config is -:           indicator <space> another indicator

I know its because of the transform key in config file 

What changes do i have to make in the config file to get each indicator in a newline.


Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!