What is Capture?

Capture may refer to any of the following:

1. In computing, the term capture refers to the process of obtaining information and putting it onto a storage device for future reference.

For example, when highlighted text is cut or copied, it's captured and placed in the clipboard, allowing the user to paste the information elsewhere.

2. With computer programming and regular expressions, capture is a term used to describe the process of grabbing matched text in parentheses in a regular expression and store it in a variable.

For example, in the below Perl code, the regular expression /(0-9+)/ captures any numbers contained in the $value variable

my $value = "Example 1234 text.";
if ($value =~ /(0-9+)/) {
print "I've captured: $1";}

In the above example, it would return "I've captured: 1234."

when running the script. Capturing text like this can be a great way of grabbing and storing only the text you want in a variable.

What is an Operating System? » Computer Shortcut Keys and their Functions » Keyboard Function Keys » Computer Basics - Hardware - Software - Parts

Short Stories for Kids - Moral Stories – English Short Stories for Children - Moral Stories for Kids - Stories for Kids - Funny Story for Kids - Scary Stories for Kids - Really Funny Short Stories - Bedtime Stories
Proverb Stories
Powerful Motivational Quotes for Students » Success
» English Short Stories for Kids

Cabin Crew Jobs & Career Advice » Secretary Job Description » Receptionist Job Description » Top 100 Interview Questions and Answers » How to Prepare for an Interview » How to Write a CV » How to Choose a Career » Computer Shortcut Keys and their Functions

Scholarships in Australia » Scholarships in Austria » Scholarships in Belgium » Scholarships in Canada » Scholarships in Germany » Scholarships in Ireland » Scholarships in Italy » Scholarships in Japan » Scholarships in Korea » Scholarships in Netherlands » Scholarships in Switzerland » Scholarships in UK » Scholarships in USA

Scholarships for Study in Africa » Scholarships for African Students » Undergraduate Scholarships » African Women Scholarships & Grants » Developing Countries Scholarships » Erasmus Mundus Scholarships for Developing Countries » Fellowship Programs » Funding Grants for NGOs » Government Scholarships » LLM Scholarships » MBA Scholarships » PhD and Masters by Research Scholarships » Public Health Scholarships - MPH Scholarships » Refugees Scholarships » Research Grants » Scholarships and Grants

Kenya Scholarships for Undergraduate Students » Kenya Scholarships for Postgraduate Students » Undergraduate Scholarships for Kenyan Students » Kenya Undergraduate Scholarships » Full Undergraduate Scholarships for Kenyans » Kenya Postgraduate Scholarships » Scholarships & Grants » Undergraduate Scholarships » Universities in Kenya » Kenya Universities and Colleges Central Placement Service (KUCCPS) » Colleges in Kenya

Click here to post comments

Join in and write your own page! It's easy to do. How? Simply click here to return to Computer Basics FAQ.