Rubular is a Ruby-based regular expression editor. It's a handy way to test regular expressions as you write them. To start, enter a regular expression and a test string. Or you can try an example.
å ¥åãã§ãã¯ãªã©ã§ãä¸è©±ã«ãªãæ£è¦è¡¨ç¾ã§ãããããããªããªã奥ãæ·±ããè¤éãªæ£è¦è¡¨ç¾ã¯ä¸ä½ä½ããã¦ããã®ã解æããã ãã§ãä¸è¦å´ã ãã®åå£ã«ã¶ã¤ãã£ãã®ã ãããç¹å®ã®"æåå"ãå«ã¾ãªãããã«ãã§ãã¯ãããããã ã¨ãããã®ãããç¹å®ã®ï¼æåãå«ã¾ãªããããªæ£è¦è¡¨ç¾ã¯ç°¡åã§ãããæååã¨ãªãã¨ããããçµæ§é£ããã ãã¨ãã°ãaãã¨ãbãã¯å«ã¾ãã¦ãã¦ãããã©ããabãã¨ããæååã¯é§ç®ã¨ããå ´åããªãã¨ãªã ^[^(ab)]+$ ã§ãããããªæ°ããããã©ãããã§ã¯é§ç®ã ã¡ãªã¿ã«æ£è¦è¡¨ç¾ã試ãããã¨ãã¯ããã®ãµã¤ããå©ç¨ããã¨ä¾¿å©ãã©ãããããããã®ããè¦è¦çã«è¡¨ç¤ºãã¦ãããã®ã§ãã¨ã£ã¦ãããããããã ãabãã®æååãå¦å®ããå ´åã¯ãbãã®åã«ãaãããªãã¨ããè¨è¿°ãããªãã¨é§ç®ãããããããåèã«ãå®éã®æ£è¦è¡¨ç¾ã¯ãããªæãã ^(([^b]|[^a]b)|[^a]a)+$ ã¡ãª
åã®ãã¼ã¸ãããã次ã®ãã¼ã¸ ç¹°ãè¿ãã®ã話ã¯ä»åã§æå¾ã§ãâ ãä»åã¯ãå°ã ããªããã¼ãª å¦å®å½¢ã®ç¹°ãè¿ãè¡¨ç¾ ãï¼ã¤ãç´¹ä»ãã¾ã .*?ãã使ã£ã¦ããã¾ãåããªãã¨ãã«ã©ããã¦ãå¿ è¦ã«ãªã表ç¾ãªã®ã§ ç¹°ãè¿ã表ç¾ã§å°ã£ãã¨ãã«ã¯ãããã®ä½¿ç¨ããæ¤è¨ä¸ãã â ã[^ABC]*? ããã¯ã©ãããæå³ãªã®ãã¨è¨ãã¨ãAãBãC 以å¤ã®æåã®ç¹°ãè¿ã ã§ã ã¾ãã¯ã.*?ãã¨ã[^ABC]*?ãã®åä½ã®éããè¦ã¦ã¿ã¾ããã⪠â½ãJR.*?é§ çãã§æ¤ç´¢ããå³ æåã® ãJRã ãã ãé§ çã ã¾ã§ããããã¦ãã¾ã£ã¦ã¾ãã ãã㯠ã . ã ã ãé§ çºã ã® ãé§ ã ã«ããããåºæ¥ãããã« ãã®ãããªèª¤çãèµ·ãã¦ãã¾ãã¾ã â½ãJR[^é§ ]*?é§ çãã§æ¤ç´¢ããå³ æåã® ãJRã ããã¯ããããã¦ãã¾ããã ããã¯ãæåã® ãJRã 㨠ãé§ çã ã®éã« ãé§ çºã ã®é§ ã®æåãããã®ã§ æåã®
æ£è¦è¡¨ç¾ å¦å® æåååã®ãã¼ã¸ãããã次ã®ãã¼ã¸ ãããããªç°å¢ã®ä¸ã«ã¯ãå èªã¿ã®å¦å®ã§ããã(?! )ãã 使ããªãç°å¢ãããã¾ããããã®ãããªç°å¢ã§ã¯ã ãABCã ã¨ããæååãå«ã¾ãªã ã¨ãããããªãæååã®å¦å®ãããæ£è¦è¡¨ç¾ãä½ãã®ã¯ ã¨ã¦ãé£ããä½æ¥ã«ãªãã¾ã â»ã(?! ) ã使ããç°å¢ã§ã®ä½ãæ¹ã¯ ãã¡ã ã ã§ã¯ãä¾ã¨ãã¦ã 以ä¸ã®ãããªããã¹ãã«ãããããæ£è¦è¡¨ç¾ãèãã¦ã¿ã¾ãããâ ã» ããã¹ãã®å é ã AA ããå§ã¾ã ã» ããã¹ãã®æ«å°¾ã AA ã§çµãã ã» å é ã® AA ã¨ãæ«å°¾ã® AA ã¨ã®éã«æã¾ããæååã®ä¸ã«ã¯ ãAA ãåå¨ããªã ã¡ãªã¿ã«ã "AAAAA" ã¨ããããã¹ãã®å ´åãä¸ã«æã¾ããæååã ãA ã®1æåã ããªã®ã§ãããããããã®ã¨ãã¾ã â½ããããããããããã¹ãã®å³ ãã®ãããªå ´åã ã¾ãã以ä¸ã®ããã«æ£è¦è¡¨ç¾ã«ä½¿ããããªãã¼ããæ¸ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}