Search for a tool
Regular Expression Search

Tool to search (or test) in a text, a message, or a document by regular expression / rational expression and extract matching substrings.

Results

Regular Expression Search -

Tag(s) : Data processing

dCode and you

dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day!
You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? Contact-me!


Team dCode likes feedback and relevant comments; to get an answer give an email (not published). It is thanks to you that dCode has the best Regular Expression Search tool. Thank you.

Regular Expression Search

Sponsored ads

Regexp Search in a Text

Tool to search (or test) in a text, a message, or a document by regular expression / rational expression and extract matching substrings.

Answers to Questions

What is a regular expression?

A regular expression (or rational expression or regexp) is a string that describes a set of other possible strings in a precise syntax, and is used in computing for search, editing and text control.

Example: a(b|c)[a-z]{3}describes a set of 5 letters beginning with a, followed by b or c and 3 other letters between a and z, in small caps

Example: [0-9]{2}!? describes a set of 2-digit numbers from 00 to 99 followed or not by an exclamation mark

What are the most common regular expressions?

Regular expressions depend heavily on the type of text to be processed:

Lower case name: [a-z0-9_-]{3,16}

Date dd/mm/yyyy: \d{1,2}\/\d{1,2}\/\d{4}

Hexadecimal color: #?([A-Fa-f0-9]){3}(([A-Fa-f0-9]){3})?

E-mail address: [a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6}

Internet address:https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?

IP address: (?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)

What are the best resources for regular expressions?

RegexLib [] A fairly comprehensive library, full of examples.

Regex101 [] : Tester, Online Debugger.

Ask a new question

Source code

dCode retains ownership of the source code of the script Regular Expression Search online. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, Matlab, etc.) which dCode owns rights will not be given for free. To download the online Regular Expression Search script for offline use on PC, iPhone or Android, ask for price quote on contact page !

Questions / Comments


Team dCode likes feedback and relevant comments; to get an answer give an email (not published). It is thanks to you that dCode has the best Regular Expression Search tool. Thank you.


Source : https://www.dcode.fr/regexp-search
© 2018 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaches. dCode
Feedback