Skip to content
expresión regular

File:Antony08.gif · Wikimedia Commons · See Wikimedia Commons

EntityQ185612· pop 70· linked from 560 articles

expresión regular

Sign in to save

Also known as regex, regexp, regxp, RegExp, rational expression, Complement operator (regular expressions), regular expressions, rational expressions

secuencia de caracteres que forma un patrón de búsqueda en cómputo teórico y teoría de lenguajes formales

AI overview

A regular expression is a sequence of characters that you can use to search for and find specific text patterns in documents or data. It matters because it lets you quickly locate, extract, or replace information without having to manually search through everything yourself.

AI-generated from the Wikipedia summary — may contain errors.

Described at

RegExr: Learn, Build, & Test RegEx

Regular expression tester with syntax highlighting, PHP / PCRE & JS Support, contextual help, cheat sheet, reference, and searchable community patterns.

regexr.com

Edit the Expression & Text to see matches. Roll over matches or the expression for details. PCRE & JavaScript flavors of RegEx are supported. Validate your expression with Tests mode. The side bar includes a Cheatsheet, full Reference, and Help. You can also Save & Share with the Community and view patterns you create or favorite in My Patterns. Explore results with the Tools below. Replace & List output custom results. Details lists capture groups. Explain describes your expression in plain English. Build a suite of tests that your expression should (or should not) match. Create new tests with the 'Add Test' button. Click a test to edit the name, type, & text. Any unsaved changes will be lost. Saved patterns & favorites will be migrated to your account.

Excerpt from a page describing this subject · 2,795 chars · not written by Vinony

Article · Español

En cómputo teórico y teoría de lenguajes formales, una expresión regular, o expresión racional,​​ también son conocidas como regex o regexp,​ por su contracción de las palabras inglesas regular expression, es una secuencia de caracteres que conforma un patrón de búsqueda. Se utilizan principalmente para la búsqueda de patrones de cadenas de caracteres u operaciones de sustituciones. Las expresiones regulares son patrones utilizados para encontrar una determinada combinación de caracteres dentro de una cadena de texto. Las expresiones regulares proporcionan una manera muy flexible de buscar o reconocer cadenas de texto. Por ejemplo, el grupo formado por las cadenas Handel, Händel y Haendel se describe con el patrón "H(a|ä|ae)ndel". La mayoría de las formalizaciones proporcionan los siguientes constructores: una expresión regular es una forma de representar los lenguajes regulares (finitos o infinitos) y se construye utilizando caracteres del alfabeto sobre el cual se define el lenguaje.

Abstract from DBpedia / Wikipedia · CC BY-SA

Gallery (3)

expresión regular · Vinony