Tsim cov regex. Saib txhua qhov sib txuas. Khaws nws rau lub sijhawm tom ntej.
Kev ci ntsa iab tam sim ntawd, tus cuab yeej tshuaj xyuas cov ntsiab lus, kev piav qhia hauv lus yooj yim, thiab ib txheej txheem cov patterns uas koj tsis tu ncua rov tsim dua.
Cov phiaj pib ntawm $5/lub hli — tso tseg thaum twg los tau
Cov cuab yeej sim Regex
Sau regex, sau cov ntawv sim — saib txhua qhov sib txuas live.
- ^start of string / line
- [^\s@]character class
- +one or more of the previous
- @literal "@"
- [^\s@]character class
- +one or more of the previous
- \.literal dot
- [^\s@]character class
- {2,}quantifier
- $end of string / line
Pro toolkit
ProUpgrade to Pro to unlock — see plans below.Nres ntawv regex rau Stack Overflow
Sim, piav qhia, thiab khaws — tsis tas tawm hauv nplooj ntawv lossis poob koj txoj haujlwm.
Kev ci ntsa iab tam sim ntawd
Sau ib tug regex, sau ib tug ntawv sim — txhua qhov sib txuas ci tam sim ntawd. Qhia cov ntsiab lus hauv qhov chaw nrog kev txhawb nqa cov ntsiab lus named.
Kev piav qhia hauv lus yooj yim
Ntawv ib tug regex, tau kev piav qhia ib kauj ruam zuj zus: lookbehind, anchors, character classes, quantifiers, thiab flags. Piav txhua feem hauv lus yooj yim.
Txheej txheem patterns
Email, URL, IPv4, IPv6, UUID, ISO-8601, xov tooj, khaim teb, slug, thiab xim hex — cov patterns raug xaiv los pab txhais cov xwm txheej tiag tiag (tsis yog cov ntawv 5-laj Stack Overflow).
Khaws koj tus kheej
Txhua regex uas koj sau — muab npe, tag, thiab rov qab los. Cov account Pro sib txuas hauv cloud ntawm txhua lub cuab yeej.
Kev hloov kho
Sim kev hloov kho nrog cov backreferences ($1, $2). Saib tseeb tias koj txoj kev hu sed / JS .replace() yuav tshwm sim li cas.
Ntau hom
Hloov ntawm JavaScript, PCRE thiab POSIX hom. RegexBuilder qhia koj tias hom twg txhawb nqa.
Peb kauj ruam
Txij ntawm lub tswv yim mus txog ib tug regex uas sim lawm thiab piav qhia.
Xaiv lossis ntawv
Pib ntawm ib tug pattern hauv txheej txheem lossis ntawv ib tug regex uas koj tau sau lawm.
Sim
Ci ntsa iab cov sib txuas tam sim ntawd ntawm txhua ntawv sim. Hloov kho mus txog thaum nws ua li koj xav.
Khaws
Muab npe, tag, luam rau clipboard, thiab ntawv rau hauv koj cov code.
Nqi yooj yim
Xaiv ib txoj kev thiab nres rov tsim cov regex.
Rau cov dev ib leeg
- 200 cov qauv raug khaws / hli
- Lus qhia yooj yim
- Tag nrho cov qauv
- Cov txheej txheem hloov
rau cov pab pawg data thiab kev nyab xeeb
- 5000 cov qauv raug khaws / hli
- Ntau hom (JS / PCRE / POSIX)
- Kev sib txuas hauv Cloud ntawm txhua lub cuab yeej
- Tsev ntawv khaws ua ke
- Kev pab txhawb nqa tseem ceeb
Cov lus nug tsis tu ncua
Cov hom regex twg koj txhawb?
JavaScript (default), PCRE-compatible, thiab POSIX. Peb qhia tseeb cov yam ntxwv tsis txhawb thaum koj hloov cov hom.
Koj cov ntawv sim puas khiav tawm ntawm koj lub browser?
Tsis. Txhua yam nyob ntawm client-side; peb tsis xa koj regex los sis cov ntawv sim mus rau server tsis yog koj xaiv kev sib txuas hauv Cloud rau koj cov qauv raug khaws.
Puas qhia tau ib tug regex tsis yog koj sau?
Yog — yog li ntawd qhov explainer ua. Paste ib tug regex thiab tau ib qho kev tshuaj xyuas lus qhia yooj yim.
Kuv tau sim dawb?
Tsis — no yog ib tug cuab yeej nqi nrog cov npaj pib ntawm $5 ib hli. Starter yog $5/hli thiab Pro yog $15/hli; koj tuaj yeem tso tawm thaum twg.
Koj li cas tso tawm?
Ntawm koj lub npawb account, los sis xa email rau peb. Kev tso tseg yuav nres qhov kev rov tshiab tom ntej.
Nres kev xav tias regex sib txuas.
Saib txhua qhov sib txuas live. Khaws cov ua haujlwm.
Saib cov kev npaj