< 1 2 3 4 5 6 > >>

Capturing Yahoo! Slurp entries from Apache Web log file
How to capture the Yahoo! Slurp from Web log file? Here are some 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 "-" "Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ ysearch/slurp)""-" 213.135.131.79 - - [13/May/2012:1...
2013-02-04, 6457👍, 0💬

Capturing request method from Apache Web log file
How to capture the request method 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 - - [13/May/2012:17:35:32 -0600] "POST /submit.jsp HTTP/1.0" 200 2326 "-" "-" "SID=1...
2013-02-04, 6082👍, 0💬

Parsing timestamp from Apache Web log file
How to parse timestamp elements from 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 - - [13/May/2012:17:35:32 -0600] "POST /submit.jsp HTTP/1.0" 200 2326 "-" "-" "SI...
2013-02-04, 6002👍, 0💬

Capturing request path from Apache Web log file
How to capture the request path 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 - - [13/May/2012:17:35:32 -0600] "POST /submit.jsp HTTP/1.0" 200 2326 "-" "-" "SID=100...
2013-02-04, 5046👍, 0💬

Capturing request protocol from Apache Web log file
How to capture the request protocol 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 - - [13/May/2012:17:35:32 -0600] "POST /submit.jsp HTTP/1.0" 200 2326 "-" "-" "SID...
2013-02-04, 4754👍, 0💬

Capturing response status code from Apache Web log file
How to capture the response status code 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 - - [13/May/2012:17:35:32 -0600] "POST /submit.jsp HTTP/1.0" 200 2326 "-" "-" ...
2013-02-04, 3924👍, 0💬

Capturing response message size from Apache Web log file
How to capture the response message size 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 - - [13/May/2012:17:35:32 -0600] "POST /submit.jsp HTTP/1.0" 200 1024 "-" "-"...
2013-02-04, 3852👍, 0💬

Capturing referer URL from Apache Web log file
How to capture the referer URL 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 - - [13/May/2012:17:35:32 -0600] "POST /submit.jsp HTTP/1.0" 200 1024 "-" "-" "SID=1000...
2013-02-04, 3291👍, 0💬

Capturing user agent from Apache Web log file
How to capture the user agent 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 - - [13/May/2012:17:35:32 -0600] "POST /submit.jsp HTTP/1.0" 200 1024 "-" "-" "SID=1000;...
2013-02-04, 3269👍, 0💬

Capturing cookie string from Apache Web log file
How to capture the cookie string 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 - - [13/May/2012:17:35:32 -0600] "POST /submit.jsp HTTP/1.0" 200 1024 "-" "-" "SID=10...
2013-02-04, 3233👍, 0💬

Capturing authenticated user name from Apache Web log file
How to capture the authenticated user name 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 "htt...
2013-02-03, 3014👍, 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.co...
2013-02-03, 3657👍, 0💬

Capturing host name from Apache Web log file
How to capture the remote host name 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...
2013-02-03, 2967👍, 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, 3625👍, 0💬

Capturing fragment id from URL
How to capture fragment id 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 ad...
2013-02-03, 3341👍, 0💬

Capturing query string from URL
How to capture query string 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 a...
2013-02-03, 3155👍, 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 wr...
2013-02-03, 3552👍, 0💬

Capturing port number from URL
How to capture port number from URL addresses with a regular expression? Here are URL address examples: ftp://ftp.example.org https://login.example.com:5800 /http://en.wikipedia.org:80/wik i/WWW.html#Historyfile://localhost/c|/WINDOWS/cl ock.aviURL addresses are written in this format: scheme://doma...
2013-02-03, 2848👍, 0💬

Capturing scheme name from URL
How to capture scheme name from URL addresses with a regular expression? Here are URL address examples: ftp://asmith@ftp.example.org https://login.example.com:5800 /http://en.wikipedia.org/wiki/W WW.html#Historyfile://localhost/c|/WINDOWS/cl ock.aviURL addresses are written in this format: scheme://...
2013-02-03, 3331👍, 0💬

Capturing domain name from URL
How to capture scheme name from URL addresses with a regular expression? Here are URL address examples: ftp://ftp.example.org https://login.example.com:5800 /http://en.wikipedia.org/wiki/W WW.html#Historyfile://localhost/c|/WINDOWS/cl ock.aviURL addresses are written in this format: scheme://domain:...
2013-02-03, 3055👍, 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, 3193👍, 0💬

Finding repeating words in a document
How to find repeating words in a text document with a regular expression? An example text document is listed below: After narrowly escaping a sensitive decapitation, Bond Bond is shot with a tranquilizer gun. He wakes up up on a plane to a woman standing over him, who introduces herself: "My name is...
2013-02-03, 2844👍, 0💬

Capturing attributes of XML elements
How to capture attributes of XML elements in XML documents? An example XML document is listed below: The regular expression to capture attributes of XML elements in an XML document can be written as: ([^\s=]+)\s*=\s*"((?:[^"]*\")* [^"]*)"Note that: ([^\s=]+) - Attribute name ((?:[^"]*\")*[^"]*) - At...
2013-02-02, 3012👍, 0💬

Does negative character class match newline
Does negative character class [^a] match newline characters? How to write a regular expression to capture tags and attributes from this HTML code: A negative character class will match the newline character, if the newline character is not listed in the class. For example, "[^a]" will match the newl...
2013-02-02, 4028👍, 0💬

< 1 2 3 4 5 6 > >>