SlideShare a Scribd company logo
1 of 1
Download to read offline
Urgent pls import re str2 = "the midterm had regular expression questions on it" match =
re.search (r(?<=)r.r(?=),str2) print(match.group ()) regular # note that there are spaces before
and after regular rm had regular expr there is no match - trick question!

More Related Content

More from aksbjj

Todos los siguientes son m�todos de informaci�n, excepto a. pie d.pdf
Todos los siguientes son m�todos de informaci�n, excepto a. pie d.pdfTodos los siguientes son m�todos de informaci�n, excepto a. pie d.pdf
Todos los siguientes son m�todos de informaci�n, excepto a. pie d.pdf
aksbjj
 
To practice recursion with a simple example. Degree of Difficulty.pdf
To practice recursion with a simple example. Degree of Difficulty.pdfTo practice recursion with a simple example. Degree of Difficulty.pdf
To practice recursion with a simple example. Degree of Difficulty.pdf
aksbjj
 

More from aksbjj (20)

Un investigador prob� a 40 adultos. Cada adulto tuvo que calificar s.pdf
Un investigador prob� a 40 adultos. Cada adulto tuvo que calificar s.pdfUn investigador prob� a 40 adultos. Cada adulto tuvo que calificar s.pdf
Un investigador prob� a 40 adultos. Cada adulto tuvo que calificar s.pdf
 
Unclear what this error means. Could someone explain what Im doing .pdf
Unclear what this error means. Could someone explain what Im doing .pdfUnclear what this error means. Could someone explain what Im doing .pdf
Unclear what this error means. Could someone explain what Im doing .pdf
 
Une al fot�grafo de th3 con una descripci�n de su trabajo Dorotea .pdf
Une al fot�grafo de th3 con una descripci�n de su trabajo Dorotea .pdfUne al fot�grafo de th3 con una descripci�n de su trabajo Dorotea .pdf
Une al fot�grafo de th3 con una descripci�n de su trabajo Dorotea .pdf
 
Una organizaci�n de conversaci�n lo ha contratado para liderar los e.pdf
Una organizaci�n de conversaci�n lo ha contratado para liderar los e.pdfUna organizaci�n de conversaci�n lo ha contratado para liderar los e.pdf
Una organizaci�n de conversaci�n lo ha contratado para liderar los e.pdf
 
Una persona con reputaci�n de involucrarse en la comunidad se niega .pdf
Una persona con reputaci�n de involucrarse en la comunidad se niega .pdfUna persona con reputaci�n de involucrarse en la comunidad se niega .pdf
Una persona con reputaci�n de involucrarse en la comunidad se niega .pdf
 
Una empresa tiene una raz�n de deuda a activos de 0.45 y una raz�n d.pdf
Una empresa tiene una raz�n de deuda a activos de 0.45 y una raz�n d.pdfUna empresa tiene una raz�n de deuda a activos de 0.45 y una raz�n d.pdf
Una empresa tiene una raz�n de deuda a activos de 0.45 y una raz�n d.pdf
 
Una evaluaci�n lineal del evento que ocurri�, donde el personal invo.pdf
Una evaluaci�n lineal del evento que ocurri�, donde el personal invo.pdfUna evaluaci�n lineal del evento que ocurri�, donde el personal invo.pdf
Una evaluaci�n lineal del evento que ocurri�, donde el personal invo.pdf
 
Una enfermera est� recopilando datos sobre un reci�n nacido y sospec.pdf
Una enfermera est� recopilando datos sobre un reci�n nacido y sospec.pdfUna enfermera est� recopilando datos sobre un reci�n nacido y sospec.pdf
Una enfermera est� recopilando datos sobre un reci�n nacido y sospec.pdf
 
T�rkiyede havaliman iletmelerinin kullandklar finansman kaynaklarn .pdf
T�rkiyede havaliman iletmelerinin kullandklar finansman kaynaklarn .pdfT�rkiyede havaliman iletmelerinin kullandklar finansman kaynaklarn .pdf
T�rkiyede havaliman iletmelerinin kullandklar finansman kaynaklarn .pdf
 
TRUE OR FALSE1. Examples of dischargeable debts in bankruptcy incl.pdf
TRUE OR FALSE1. Examples of dischargeable debts in bankruptcy incl.pdfTRUE OR FALSE1. Examples of dischargeable debts in bankruptcy incl.pdf
TRUE OR FALSE1. Examples of dischargeable debts in bankruptcy incl.pdf
 
TRUE OR FALSE1. If a creditor fails to perfect its security intere.pdf
TRUE OR FALSE1. If a creditor fails to perfect its security intere.pdfTRUE OR FALSE1. If a creditor fails to perfect its security intere.pdf
TRUE OR FALSE1. If a creditor fails to perfect its security intere.pdf
 
Translate the following pseudocode into assembly language, assuming .pdf
Translate the following pseudocode into assembly language, assuming .pdfTranslate the following pseudocode into assembly language, assuming .pdf
Translate the following pseudocode into assembly language, assuming .pdf
 
Traditionally, HR has focused on the costs associated with each spec.pdf
Traditionally, HR has focused on the costs associated with each spec.pdfTraditionally, HR has focused on the costs associated with each spec.pdf
Traditionally, HR has focused on the costs associated with each spec.pdf
 
Topic African Americans and the issue of systematic Institutionali.pdf
Topic African Americans and the issue of systematic Institutionali.pdfTopic African Americans and the issue of systematic Institutionali.pdf
Topic African Americans and the issue of systematic Institutionali.pdf
 
Topic is Hashing 1 - Suppose keys are hashed to four-bit sequences. .pdf
Topic is Hashing 1 - Suppose keys are hashed to four-bit sequences. .pdfTopic is Hashing 1 - Suppose keys are hashed to four-bit sequences. .pdf
Topic is Hashing 1 - Suppose keys are hashed to four-bit sequences. .pdf
 
Topic- Economic Effects of UrbanizationTask a) write a literatu.pdf
Topic-  Economic Effects of UrbanizationTask a) write a literatu.pdfTopic-  Economic Effects of UrbanizationTask a) write a literatu.pdf
Topic- Economic Effects of UrbanizationTask a) write a literatu.pdf
 
Todos los siguientes son m�todos de informaci�n, excepto a. pie d.pdf
Todos los siguientes son m�todos de informaci�n, excepto a. pie d.pdfTodos los siguientes son m�todos de informaci�n, excepto a. pie d.pdf
Todos los siguientes son m�todos de informaci�n, excepto a. pie d.pdf
 
Tom and Jerry operate an ice cream business as equal partners. Tom w.pdf
Tom and Jerry operate an ice cream business as equal partners. Tom w.pdfTom and Jerry operate an ice cream business as equal partners. Tom w.pdf
Tom and Jerry operate an ice cream business as equal partners. Tom w.pdf
 
To practice recursion with a simple example. Degree of Difficulty.pdf
To practice recursion with a simple example. Degree of Difficulty.pdfTo practice recursion with a simple example. Degree of Difficulty.pdf
To practice recursion with a simple example. Degree of Difficulty.pdf
 
To increase tax revenue, the U.S. government in 1932 imposed a 2-cen.pdf
To increase tax revenue, the U.S. government in 1932 imposed a 2-cen.pdfTo increase tax revenue, the U.S. government in 1932 imposed a 2-cen.pdf
To increase tax revenue, the U.S. government in 1932 imposed a 2-cen.pdf
 

Recently uploaded

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 

Recently uploaded (20)

ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 

Urgent pls import re str2 = the midterm had regular expression ques.pdf

  • 1. Urgent pls import re str2 = "the midterm had regular expression questions on it" match = re.search (r(?<=)r.r(?=),str2) print(match.group ()) regular # note that there are spaces before and after regular rm had regular expr there is no match - trick question!