Regular Expressions for Web Advertising Detection Based on an Automatic Sliding Algorithm
D. Riaño, Rosa María Piñón, Guillermo Gilberto Molero-Castillo, Everardo Bárcenas, Alejandro Velázquez-Mena · Programming and Computer Software · 2020
Abstract This paper presents the automation of a Web advertising recognition algorithm, using regular expressions. Currently, the use of regular expressions, optical character recognition, Databases, and automation tests have been critical for multiple Software implementations. The tests were carried out in three Web browsers. As a result, the detection of advertisements in Spanish, that distract attention and that above all extract information from users was achieved. The main feature of the algorithm is that automatic and versatile execution does not require access to the code of the page in question and that in the future it can be an application with background operation. Being supported by optical character recognition gives us acceptable efficiency in detecting advertising. Thanks to this identification, it may be possible to generate different applications, both in favor of the user and the brands, always with the aim of improving current online marketing models.