<< < 1 2 3 4 5 6 > >>   Sort: Date

regexpal.com
What functions are offered by regexpal.com? regexpal.com is a JavaScript regular expression tester. regexpal.com
2013-01-25, 3388👍, 0💬

Positive look-behind assertion (?&lt;=...)
What is a positive look-behind assertion? How to use it? How to write a regular expression to find words ending with 'oo' in text like: how, too, bamboo, school,? A positive look-behind assertion is a zero-width assertion that allows you to match a subpattern left to the current position (look-behin...
2013-01-31, 3373👍, 0💬

Escape sequence - Tab character \t
What is the escape sequence for the Tab character? How to write a regular expression to captures tab delimited fields like this: Milk $0.99 No tax? The escape sequence for the Tag character is \t, which is the same as \x09. The regular expression to capture tab delimited fields is: ([^\t]*+)\t? [^\t...
2013-01-26, 3372👍, 0💬

regex.larsolavtorvik.com
What functions are offered by regex.larsolavtorvik.com? regex.larsolavtorvik.com is a regular expression online testing tool with PHP PCRE, PHP POSIX, JavaScript engines. regex.larsolavtorvik.com
2013-01-25, 3366👍, 0💬

Capturing timestamp from Apache Web log file
How to capture the timestamp from Apache Web log file? Here are some Apache Web log file entries:127.0.0.1 - frank [10/May/2012:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326 "-" "-" "-" 213.135.131.79 - - [15/May/2012:19:21:49 -0400] "GET /features.htm HTTP/1.1" 200 9955 "http://www.abc.com...
2013-02-03, 3345👍, 0💬

Parsing directory entries from Windows "dir" command
How to write a regular expression to parse sub directory entries from the output of Windows "dir" command? Here is an example output of the "dir" command:Directory of C:\Windows 12/15/2012 09:24 AM . 12/15/2012 09:24 AM .. 07/13/2009 11:52 PM addins 01/19/2012 10:48 AM AppCompat 11/29/2012 09:16 AM ...
2013-02-01, 3330👍, 0💬

Comments in regular expression (?#...)
Is there any way to enter a comment into regular expressions? How to write a regular expression with comments to match date strings in yyyy-mm-dd format like: 2013-01-26 Yes. Comments can be entered in regular expressions using (?#...) format. For example: "(?:[^"\]++(?#no-backtracking) |\.)*+(?#no-b...
2013-01-26, 3320👍, 0💬

Parsing all elements of URL addresses
How to parse out all elements from URL addresses with a regular expression? Here are URL address examples:ftp://ftp.example.org /https://login.example.com:5800 /?mode=guest&lang=enhttp://www.google.com:80/api/e xample/submit.php?name=joe#newfile://localhost/c|/WINDOWS/do cument.html#chapter1URL ...
2013-02-03, 3299👍, 0💬

White space character class - \s
What is abbreviation of a character class of all white space ASCII characters? How to write a regular expression using a character class abbreviation to capture all white space characters in a text string like this: Name: Jack; Age: 25; City: Paris? The predefined abbreviation of a character class o...
2013-01-23, 3282👍, 0💬

Negated white space character class - \S
What is abbreviation of a negated character class of all white space ASCII characters? Does it represents any characters except white space characters? How to write a regular expression using a character class abbreviation to capture tokens separated by white space characters in a text string like t...
2013-01-23, 3266👍, 0💬

Negated decimal digit character class - \D
What is abbreviation of a negated character class of all decimal digits? Does it represents any characters except decimal digits? How to write a regular expression using a character class abbreviation to capture letters from a Canadian postal code string: L3R 9Z7? The predefined abbreviation of a ne...
2013-01-23, 3259👍, 0💬

Capturing path name from URL
How to capture path name from URL addresses with a regular expression? Here are URL address examples:ftp://ftp.example.org /https://login.example.com:5800 /?mode=guesthttp://www.google.com:80/api/e xample/submit.php?name=joe#newfile://localhost/c|/WINDOWS/do cument.html#chapter1URL addresses are wri...
2013-02-03, 3258👍, 0💬

Regex Coach
What functions are offered by Regex Coach? The Regex Coach is a graphical application for Windows which can be used to experiment with (Perl-compatible) regular expressions interactively. It has the following features: It shows whether a regular expression matches a particular target string. It can ...
2013-01-25, 3247👍, 0💬

Using character class [...]
What is a character class? How to specify a character class in a regular expression? How to write a regular expression using character classes to capture 7 digits phone numbers from this example string "123-4567, 123 4567 or 1234567"? A character class allows a set of possible characters, rather tha...
2013-02-02, 3230👍, 0💬

"non-greedy" on quantified subpatterns +? *? {}?
How turn off the the greediness of quantified subpatterns? I want the quantified subpattern to be matched the minimum number of times possible? How to create a "non-greedy" quantified subpattern on this PHP script: if ($t=10): echo "Just started...!"; endif; if ($t=11): echo "Hungry!"; endif; if ($t...
2013-01-26, 3178👍, 0💬

Negative look-behind assertion (?&lt;!...)
What is a negative look-behind assertion? How to use it? How to write a regular expression to find words not ending with 'oo' in text like: how, too, bamboo, school,? A negative look-behind assertion is a zero-width assertion that allows you to not match a subpattern left to the current position (lo...
2013-01-31, 3161👍, 0💬

Negated word character class - \W
What is abbreviation of a negated character class of all word characters? Does it represents any characters except alphanumeric plus '_' characters? How to write a regular expression using a character class abbreviation to capture all sequences of non word characters in a PHP script code like this: ...
2013-01-23, 3141👍, 0💬

REGex TESTER
What functions are offered by REGex TESTER? REGex TESTER site allows you to do a regex test, i.e. it utilizes JavaScript (AJAX) to instantly validate regular expressions (regex), by searching and replacing strings in a text based on the regular expression. The result is live, it is updated instantly...
2013-01-25, 3136👍, 0💬

Single line modifier - s
What is the single line modifier? How to use it? How the single line modifier can be used on this example text:class Hello { public static void main(String[] args) { System.out.println("Hello World!"); // Display the string. } } The single line modifier 's', also called "dot all" modifier, modifies ...
2013-02-02, 3098👍, 0💬

perlre - Perl regular expressions reference document
I am using regular expressions in Perl scripts and need to look at reference document frequently. If you are writing Perl scripts and using regular expressions, you need to bookmark this Perl official reference document: "perlre - Perl regular expressions". Even if you are using regular expressions ...
2013-01-22, 3093👍, 0💬

Regular-Expressions.info
What resources are offered at Regular-Expressions.info? Regular-Expressions.info is the premier website about Regular Expressions offering Complete Regular Expression Tutorial and Applications & Languages That Support Regexes. Regular-Expressions.info
2013-01-26, 3089👍, 0💬

Multiple line modifier - m
What is the multiple line modifier? How to use it? How the multiple line modifier can be used on this example text:06/10/2009 04:21 PM 69,584 avicap.dll 06/10/2009 04:21 PM 109,456 avifile.dll 07/13/2009 04:41 PM 32,816 COMMDLG.DLL 07/13/2009 04:41 PM 2,000 keyboard.drv 06/10/2009 04:42 PM 9,936 lze...
2013-02-02, 3078👍, 0💬

PHP Regular Expressions (Perl-Compatible)
I am using regular expressions in PHP scripts and need to look at reference document frequently. If you are writing PHP scripts and using regular expressions, you need to bookmark this PHP official reference document: "Regular Expressions (Perl-Compatible)". Topics covered in "Regular Expressions (P...
2013-01-22, 3060👍, 0💬

PCRE - Perl Compatible Regular Expressions
What is PCRE (Perl Compatible Regular Expressions)? The PCRE library is a set of functions that implement regular expression pattern matching using the same syntax and semantics as Perl 5. PCRE has its own native API, as well as a set of wrapper functions that correspond to the POSIX regular express...
2013-01-25, 3031👍, 0💬

<< < 1 2 3 4 5 6 > >>   Sort: Date