< 1 2   Sort: Date

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 (l...
2013-01-31, 3399👍, 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, 3389👍, 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 lz...
2013-02-02, 3335👍, 0💬

Negative look-ahead assertion (?!...)
What is a negative look-ahead assertion? How to use it? How to write a regular expression to find words without 'oo' in text like: how, to, look, google, school ? A negative look-ahead assertion is a zero-width assertion that allows you to not match a subpattern beyond the current position (look-ahe...
2013-01-26, 3294👍, 0💬

Positive look-ahead assertion (?=...)
What is a positive look-ahead assertion? How to use it? How to write a regular expression to find words with 'oo' in text like: how, to, look, google, school ? A positive look-ahead assertion is a zero-width assertion that allows you to match a subpattern beyond the current position (look-ahead) wit...
2013-01-26, 3156👍, 0💬

Using multiple lines and single line modifiers together - ms
What happens if I use multiple lines modifier, m, and single line modifier, s, together? How to write a regular expression to capture each bullet statement from this sample text: - The DAEMON or VENDOR label. - If the path is missing or incorrect, the product placed in the same directory as the x da...
2013-02-02, 3107👍, 0💬

Case insensitive modifier - i
What is case insensitive modifier? How to use it? How to write a regular expression to capture the "DIM" key word from this code example: Dim intArray(10, 10, 10) As Integer ReDim Preserve intArray(10, 10, 20) ReDIM Preserve intArray(10, 10, 15) Redim intArray(10, 10, 10) The regular expression to c...
2013-02-03, 3074👍, 0💬

Using character range in a character classe [a-z]
What is a character range in a character class? How to specify a character range in a character class in a regular expression? I have a string of hexadecimal digits, 46594963656E7465722E636F6D and want to use character ranges in a character class to validate it. A character range defines a set of po...
2013-01-22, 2996👍, 0💬

None capturing group (?:...)
Is there any to stop capturing a group to improve matching performance? How to write a possessive quantified subpattern to match double-quoted strings like this: "He said: \“Hello!\”" ? Yes. To turn the default capturing behavior on a group, you can entered '?:' at the beginning of the group a...
2013-01-26, 2985👍, 0💬

Logical OR (Alternation) operation (a|b)
What is a logical OR operation? How to specify a logical OR operation in a regular expression? How to use logical OR operations to build a regular expression to search and count common spamming terms from this email paragraph: I am inviting you for a business deal where this money will be shared bet...
2013-01-22, 2937👍, 0💬

0 or more times repetition quantifier *
What is the 0 or more times repetition quantifier? How to use it? How to write a regular expression using a repetition quantifier to capture all names and values in a URL query string like this: User=Jack&Age=&City=Pa ris? The "0 or more times" repetition quantifier allows us to repeat a pat...
2013-01-26, 2907👍, 0💬

End of string anchor $
What is the "end of string" anchor in a regular expression? How to use it? How to write a regular expression using "end of string" anchor to validate words ending in 'z': quartz ? The "end of string" anchor is an atomic zero-width assertion specifing that the match must occur at the end of the strin...
2013-01-26, 2878👍, 0💬

Possessive (non-backtracking) quantified subpatterns ++ *+ {}+
What is possessive (non-backtracking) quantified subpatterns? How to write a possessive quantified subpattern to match double-quoted strings like this: "He said: \“Hello!\”" ? If you don't want the default backtracking behavior of quantified subpatterns, you can turn it off by adding the "poss...
2013-01-26, 2868👍, 0💬

n or more times repetition quantifier {n,}
What is the "n or more times" repetition quantifier? How to use it? How to write a regular expression using a repetition quantifier to capture the value of PI like: 3.1415926535897932384626433832 795028841971with a precision of at least 5 decimal digits? The "n or more times" repetition quantifier a...
2013-01-26, 2854👍, 0💬

Pattern groups (...)
What is pattern group? What are pattern groups used for? How to write a regular expression using groups to capture character names from the Ed, Edd 'n' Eddy animated comedy television series? The grouping mechanism allows a part of a regex to be treated as a single unit. A group is represented by re...
2013-01-23, 2815👍, 0💬

Exact n times repetition quantifier {n}
What is the exact n times repetition quantifier? How to use it? How to write a regular expression using a repetition quantifier to capture Visa card numbers that have 16 digits like this: 4111111111111111 ? The "exact n times" repetition quantifier allows us to repeat a pattern unit exactly n times ...
2013-01-26, 2799👍, 0💬

Greediness of quantified subpatterns
What is the greediness of quantified subpatterns? What does it mean that a quantified subpattern is "greedy"? How to show that a quantified subpattern is "greedy" on this PHP script: if ($t=10): echo "Just started...!"; endif; if ($t=11): echo "Hungry!"; endif; if ($t=12): echo ""Ah, lunch-time!"; e...
2013-01-26, 2775👍, 0💬

Limited number of repetitions quantifier {n,m}
What is the limited number of repetitions quantifier? How to use it? How to write a regular expression using a repetition quantifier to ensure my password is between 8 and 12 characters long like this one: 9EA979114C ? The "limited number of repetitions" quantifier allows us to repeat a pattern unit...
2013-01-26, 2769👍, 0💬

1 or more times repetition quantifier +
What is the 1 or more times repetition quantifier? How to use it? How to write a regular expression using a repetition quantifier to capture all words in a PHP script code like this: function get($key) {if (array_key_exists($key,$_POST) )return $_POST[$key]; else return "";} ? --- Answer The "1 or m...
2013-01-26, 2768👍, 0💬

Start of string anchor ^
What is the "start of string" anchor in a regular expression? How to use it? How to write a regular expression using "start of string" anchor to validate discover credit card numbers like: 6011963280099774 ? The "start of string" anchor is an atomic zero-width assertion specifing that the match must...
2013-01-26, 2751👍, 0💬

1 or 0 times repetition quantifier ?
What is the 1 or 0 times repetition quantifier? How to use it? How to write a regular expression using a 1 or 0 times repetition quantifier to capture both spellings of skilful and skillful ? The "1 or 0 times" repetition quantifier allows us to create a special logical OR operation of "match the pa...
2013-01-26, 2745👍, 0💬

Backtracking of quantified subpatterns
What is backtracking of quantified subpatterns? What does it mean that a quantified subpattern is "backtracked"? How to show that a quantified subpattern is "backtracked" on this PHP script: if ($t=10): echo "Just started...!"; endif; if ($t=11): echo "Hungry!"; endif; if ($t=12): echo ""Ah, lunch-t...
2013-01-26, 2737👍, 0💬

regex.FYIcenter.com Links
Other Resources: Software QA Resources Developer Resources DBA Resources Windows Tutorials Java JAR Files DLL Files File Extensions Security Certificates Regular Expression Link Directories Interview Q &amp; A Biotech Resources Cell Phone Resources Travel Resources Frequently Asked Questions FYI...
2019-01-01, 1855👍, 0💬

< 1 2   Sort: Date