¿Cómo se pueden probar expresiones regulares I usando múltiples motores de RE? [cerrado]


¿Cómo puedo probar la misma expresión regular con diferentes motores de expresión regular?

Author: Onorio Catenacci, 2008-08-28

30 answers

La herramienta de prueba de expresiones regulares en línea más poderosa es, con mucho, http://regex101.com / - le permite seleccionar el motor RE (PCRE, JavaScript, Python), tiene un depurador, coloriza las coincidencias, explica la expresión regular sobre la marcha, puede crear enlaces permanentes al patio de expresiones regulares.

Otras herramientas en línea:

Herramientas de escritorio de Windows:

Jeff Atwood [escribió sobre expresiones regulares] (post:).

Otras herramientas recomendadas por los usuarios de SO incluyen:

 75
Author: Pat,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2017-05-23 12:13:34
 16
Author: JimmyJ,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2008-08-28 13:36:46

Uso Expresso ( www.ultrapico.com ). Tiene un montón de buenas características para el desarrollador. El regulador solía ser mi favorito, pero no se ha actualizado en tanto tiempo y constantemente me encontré con accidentes con expresiones regulares complicadas.

 10
Author: Tim Cochran,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2008-08-28 13:40:23

Aquí hay algunos para Mac: (Nota: no juzgues las herramientas por sus sitios web )

 9
Author: Joseph Pecoraro,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2008-08-28 14:17:31

Si usted es un usuario de Emacs, el comando re-builder le permite escribir una expresión regular de Emacs y muestra sobre la marcha las cadenas coincidentes en el búfer actual, con colores para marcar grupos. Es gratis como Emacs.

 8
Author: Sébastien RoccaSerra,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2008-08-28 14:14:30

Rubular es gratis, fácil de usar y se ve bien.

 7
Author: Neall,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2008-08-28 13:39:31

RegexBuddy es un arma de elección

 6
Author: aku,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2008-08-28 13:36:45

Utilizo el excelente y gratuito Rad Software Regular Expression Designer.

Si solo desea escribir una expresión regular, tenga un poco de ayuda con la sintaxis y pruebe la coincidencia y el reemplazo de las RE, entonces esta herramienta de huella bastante ligera es ideal.

 6
Author: Sprogz,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2008-09-25 13:39:57
 3
Author: Brendon-Van-Heyzen,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2008-08-28 17:53:45

Kodos por supuesto. Porque es Pitónico. ;)

 3
Author: Kim André Sand,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2009-05-15 20:10:36

RegexBuddy es genial!!!!!

 2
Author: Galwegian,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2008-08-28 13:38:49

Estoy de acuerdo en RegexBuddy, pero si quieres gratis o cuando estoy trabajando en algún lugar y no en mi propio sistema RegExr es una gran herramienta en línea (Flash) que tiene un montón de segmentos de expresiones regulares pre-construidos para trabajar con y hace coincidencia de patrones en tiempo real para sus pruebas.

 2
Author: Adam Haile,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2008-08-28 13:49:28

En la instalación estándar Python hay un directorio "Tools / scripts" que contiene redemo.py .

Esto crea una ventana interactiva en la que puede experimentar con expresiones regulares.

 2
Author: Nick,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2009-03-24 15:53:38

En el pasado prefería el Regex Coach por su diseño simplista, resaltado instantáneo y su precio (gratis).

De vez en cuando me encuentro con un problema al intentar probar expresiones regulares.NET. Para eso, resulta que es mejor usar una herramienta que realmente use el motor de expresiones regulares. NET. Esa fue toda mi razón para construir Regex Hero el año pasado. Se ejecuta en Silverlight, y como tal, se ejecuta fuera de la biblioteca de clases Regex. NET directamente.

 2
Author: Steve Wortham,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2010-12-10 22:43:32

Regexbuddy hace todo esto. http://www.regexbuddy.com /

 1
Author: Will Dean,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2008-08-28 13:37:36

Ver la respuesta aceptada a esta pregunta: Aprender Expresiones Regulares

 1
Author: Sam Hasler,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2017-05-23 12:33:26

Agregaré al voto de Reggy para el Mac, voy a probar algunos de los otros que Joseph sugirió y votar a favor de ese post mañana cuando mi límite se restablezca.

 1
Author: Teifion,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2008-08-28 14:25:37

En línea: http://regexpal.com/ para escritorio: El Entrenador Regex

 1
Author: Dinah,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2008-08-28 15:29:16

+1 Para Regex Coach aquí. Libre y hace el trabajo muy bien.

Http://www.weitz.de/regex-coach /

 1
Author: Lee Theobald,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2008-08-28 15:50:39

Todavía soy un gran El Regulador fan.
Hay algunos problemas de estabilidad, pero estos se pueden solucionar desactivando el Intellisense. Se vuelve loco con algunas expresiones y errores tipográficos en la construcción de una expresión.

A

Le encantaría que Roy Osherove se actualizara, pero parece que está ocupado con otras cosas.

 1
Author: Josh Miller,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2008-08-28 17:50:40

Me gusta usar este en línea: http://www.cuneytyilmaz.com/prog/jrx / Por supuesto, será javascript regexp, pero nunca he hecho nada lo suficientemente inteligente como para notar la diferencia.

 1
Author: Benjol,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2008-09-16 11:15:40

¿Cuánto vale tu tiempo? Paga los 4 40 y consigue RegexBuddy. Lo hice, e incluso mejoré de 2.versión x a 3.x. Ha pagado por sí mismo muchas veces.

 1
Author: Mick,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2008-09-16 14:32:02

Personalmente me gusta el Probador de Expresiones Regulares .

Es un plugin gratuito para Firefox, así que siempre encendido!

 1
Author: user213691,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2009-11-18 12:03:01

También esta expresión plugin puede ser útil para eclipse y idea los usuarios.

 1
Author: baybora.oren,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2009-12-09 14:27:32
 1
Author: roman m,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2010-12-10 18:13:41

Echa un vistazo a Regex Master que es libre y de código abierto regular expression tester

 1
Author: Alex Shapovalov,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2011-04-17 05:35:35

Este probador de expresiones regulares puede probar javascript, php y python http://www.piliapp.com/regex-tester /

 1
Author: Girvan,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2014-06-16 10:06:01

RegexBuddy hasta ahora estoy de acuerdo y apoyo.

 0
Author: Pat,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2008-08-28 13:47:26

RegExr para probar con el Actionscript 3 (cualquiera que sea el estándar que pueda ser)

 0
Author: grapefrukt,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2008-08-28 18:12:22

Http://rgx-extract-replace.appspot.com tiene la funcionalidad de enlistar los grupos de expresiones regulares capturados formateados en columnas y opcionalmente puede reemplazar los patrones coincidentes en el texto de entrada.

 0
Author: loki,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2012-03-21 07:51:23