1
0
Fork 0
whu-textual-analysis/lectures/programming/introductions/Text_Introduction_Regular_Expressions.txt
Alexander Hess a37c87d9c8
Add programming files
- add the code files provided by the instructor
- the programming/files folder with the data files is NOT included
  here due to its size
- add a .gitignore file to exclude the data files' folder
2022-08-05 00:06:58 +02:00

19 lines
1.4 KiB
Text
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This is the text for the introduction to regular expressions.
In the first example, we search for the year of birth of current and former CEOs.
These are sentences that I made up:
Microsoft's former CEO Steve Balmer (born in 1956) graduated from Harvard in 1977.
Michael Dell was born in 1965 in Houston and founded Dell Inc in 1984.
Walmart is currently run by Doug McMillon, who was born in 1966.
The following three examples are taken from the Wikipedia pages of the three people.
Steven Anthony "Steve" Ballmer (born March 24, 1956) is an American chief executive who is the former chief executive officer of Microsoft from January 2000 to February 2014, and is the current owner of the Los Angeles Clippers. Source: https://en.wikipedia.org/wiki/Steve_Ballmer, June 22, 2017.
Michael Saul Dell (born February 23, 1965) is an American business magnate, investor, philanthropist, and author. He is the founder and CEO of Dell Technologies, one of the worlds leading providers of information technology infrastructure solutions. Source: https://en.wikipedia.org/wiki/Michael_Dell, June 22, 2017.
Carl Douglas "Doug" McMillon (born October 17, 1966) is an American businessman and is the president and chief executive officer (CEO) of Wal-Mart Stores, Inc. Source: https://en.wikipedia.org/wiki/Doug_McMillon, June 22, 2017.
Here are some numbers:
1,234,567
8,901
34
56.82
539,234,353.41