Regex

Description

A regular expression (shortened as regex or regexp;[1] also referred to as rational expression)[2][3] is a sequence of characters that define a search pattern. Usually such patterns are used by string-searching algorithms for "find" or "find and replace" operations on strings, or for input validation. It is a technique developed in theoretical computer science and formal language theory.


Atom

What is this

Atom is a free and open-source[7][8] text and source code editor for macOS, Linux, and Microsoft Windows[6] with support for plug-ins written in Node.js, and embedded Git Control, developed by GitHub. Atom is a desktop application built using web technologies.[9] Most of the extending packages have free software licenses and are community-built and maintained.[10] Atom is based on Electron (formerly known as Atom Shell),[11] a framework that enables cross-platform desktop applications using Chromium and Node.js.[12][13] It is written in CoffeeScript and Less.[14]


I use it for regex

For example, format IPs for configure address commands in fortigate :

fortigate_regex_01

For detect IPs

(\d{1,3}).(\d{1,3}).(\d{1,3}).(\d{1,3})(/\d{2})


Source : everythingsysadmin

Date : 2017.03.15