Regex Tester - Javascript, PCRE, PHP
文章推薦指數: 80 %
Test your Javascript and PCRE regular expressions online. Togglenavigation RegExPal FromDan'sTools WebDev HTML/JS/CSSPlaygroundHTMLColorCodesCSSFontsOnlineDiffTool.htaccessGeneratorRegExTestingRGB&HEXColorExplorerRGBtoHEXColorConverterTimeStampConverterWebsiteSpeedTestFavicon.ico&AppIconGeneratorOnlineImageEditorCSSSpriteGeneratorKeywordTool Conversion Data CSVToHTMLConverterCSVToJSONConverterCSVToTSVConverterCSVToXMLConverterJSONToCSVConverterJSONToHTMLConverterJSONToTSVConverterJSONToXMLConverterXMLToCSVConverterXMLToHTMLConverterXMLToJSONConverterXMLToTSVConverterConvertFiles Numbers BinaryConverterBinaryToDecimalConverterBinaryToHexConverterBinaryToOctalConverterUnitConverterDecimalToBinaryConverterDecimalToHexConverterDecimalToOctalConverterHexToBinaryConverterHexToDecimalConverterHexToOctalConverterDataSizeConverterOctalToBinaryConverterOctalToDecimalConverterOctalToHexConverter Strings BinaryToStringConverterHexToStringConverterHTMLEntitiesEscapeHTMLEntitiesUnescapeStringToBinaryConverterStringToHexConverterStripandRemoveHTMLTagsStripandRemoveXMLTagsWordCounterXMLEntitiesEscapeXMLEntitiesUnescape Encode/Decoders Base64DecodeBase64EncodeMD5HashGeneratorSHA-1HashGeneratorSHA-256HashGeneratorSHA-512HashGeneratorURLEncode/Decode Formatters CSSFormatterGOFormatterHTMLBeautifier&FormatterJavascriptFormatterJavascriptObfuscateJSONFormatter&BeautifierJSONEditorJSONValidatorPerlFormatterPHPFormatterPythonFormatterRubyFormatterSQLFormatterXMLFormatter&BeautifierCSSMinifyJavascriptMinifyJSONMinify Internet EmailValidatorIsItUpOrDownDefaultRouterSettingsUserManualsWhatismyIP JoinLogin RegexPalDan'sTools Library {{getLabel()}} {{getLabel()}} {{getStaticRating()}} Substitution {{getIcon()}}{{getLabel()}}{{getDetail()}} RegexPalisatooltolearn,build,&testRegularExpressions(RegEx/RegExp). Resultsupdateinreal-timeasyoutype. Rolloveramatchorexpressionfordetails. Save&shareexpressionswithothers. ExploretheLibraryforhelp&examples. Undo&Redowith{{getCtrlKey()}}-Z/Y. Searchfor&rateCommunitypatterns. Characterclasses . anycharacterexceptnewline \w\d\s word,digit,whitespace \W\D\S notword,digit,whitespace [abc] anyofa,b,orc [^abc] nota,b,orc [a-g] characterbetweena&g Anchors ^abc$ start/endofthestring \b wordboundary Escapedcharacters \.\*\\ escapedspecialcharacters \t\n\r tab,linefeed,carriagereturn \u00A9 unicodeescaped© Groups&Lookaround (abc) capturegroup \1 backreferencetogroup#1 (?:abc) non-capturinggroup (?=abc) positivelookahead (?!abc) negativelookahead Quantifiers&Alternation a*a+a? 0ormore,1ormore,0or1 a{5}a{2,} exactlyfive,twoormore a{1,3} betweenone&three a+?a{2,}? matchasfewaspossible ab|cd matchaborcd RegularExpression JavascriptPCRE flags TestString Substitution SavethisRegex Name: Description: Save TopRegularExpressions Urlcheckerwithorwithouthttp://orhttps://OnlylettersandnumbersUrlValidationRegex|RegularExpression-Tahadateformat(yyyy-mm-dd)matchwholewordnginxtestspecialcharacterscheckExtractStringBetweenTwoSTRINGSMatchanythingenclosedbysquarebrackets.FindSubstringwithinastringthatbeginsandendswithparanthesisBlockingsitewithunblockedgamesSimpledatedd/mm/yyyyMatchanythingafterthespecifiedMatchifdoesn'tstartwithstringRegExforJsonallexceptwordJavaVariable10-digitphonenumberwithhyphensFindanywordinalistofwordsRegularExpressionForDecimalValidation|Taha CheatSheet Characterclasses . anycharacterexceptnewline \w\d\s word,digit,whitespace \W\D\S notword,digit,whitespace [abc] anyofa,b,orc [^abc] nota,b,orc [a-g] characterbetweena&g Anchors ^abc$ start/endofthestring \b wordboundary Escapedcharacters \.\*\\ escapedspecialcharacters \t\n\r tab,linefeed,carriagereturn \u00A9 unicodeescaped© Groups&Lookaround (abc) capturegroup \1 backreferencetogroup#1 (?:abc) non-capturinggroup (?=abc) positivelookahead (?!abc) negativelookahead Quantifiers&Alternation a*a+a? 0ormore,1ormore,0or1 a{5}a{2,} exactlyfive,twoormore a{1,3} betweenone&three a+?a{2,}? matchasfewaspossible ab|cd matchaborcd RegexPal RegexPalisn'toptimizedformobiledevicesyet.Youcanstilltakealook,butitmightbeabitquirky.>Okay! RegexPal RegexPalrequiresamodernbrowser.Pleaseupdateyourbrowsertothelatestversionandtryagain. ×Close Login Ifyoudon'talreadyhaveanaccount,RegisterNow Close ×Close Join Jointoaccessdiscussionforumsandpremiumfeaturesofthesite. Close ×Close PleaseShare! Thankyouforusingmytool.Ifyoucouldsharethistoolwithyourfriends,thatwouldbeahugehelp: Tweet Orfollowustolearnaboutourlatesttools: Follow@danstools00 Close
延伸文章資訊
- 1Regular Expression Analyzer
- 2RegExr: Learn, Build, & Test RegEx
Regular expression tester with syntax highlighting, PHP / PCRE & JS Support, contextual help, che...
- 3Pythex: a Python regular expression editor
Pythex is a real-time regular expression editor for Python, a quick way to test your regular expr...
- 4Regex Tester and generator - Beautify Converters
Regex Tester and generator helps you to test your Regular Expression and generate regex code for ...
- 5Regex Explanation ^.*$ [duplicate] - Stack Overflow