+ 1

Fill in the blanks to create a pattern that matches strings that contain 3 characters, out of which the last character is an exc

can you help me

9th Jun 2017, 8:53 AM
R.kishore
R.kishore - avatar
34 Respostas
+ 6
You need to match two "any character", followed by an exclamation mark. In regular expressions, "any character" is matched by using a dot. And the exclamation mark is a regular character, so you match it using... an exclamation mark :) So you are looking for: ..!
9th Jun 2017, 9:30 AM
Bogdan Sass
Bogdan Sass - avatar
+ 6
answer is r"..!
quot;
5th Jul 2019, 1:51 AM
Abdullahi Hassan
+ 4
the answer is r
15th Apr 2019, 9:29 AM
SREE NANDHINI M
SREE NANDHINI M  - avatar
+ 4
+
8th Apr 2020, 4:18 AM
Mobin Mirarab
Mobin Mirarab - avatar
+ 4
str = r "I am \r\a\w!"
4th Sep 2020, 10:55 AM
Pavithra N
Pavithra N - avatar
+ 2
ill in the blanks to create a pattern that matches strings that contain 3 characters, out of which the last character is an exclamation mark. answer is r"..!
quot;
20th Dec 2017, 7:44 AM
sureshkumar
+ 2
Fill in the blanks to replace all '!' characters in str with a dot '.'
17th Nov 2022, 12:41 PM
Jo'rabek Asqarov
Jo'rabek Asqarov - avatar
+ 1
Fill in the blanks to match strings that are not entirely composed of digits. import re pattern = r"[ ^ 0-9 ] " m = re.search(pattern, "Hi there!")
15th Mar 2020, 3:58 AM
sivaguru y v
sivaguru y v - avatar
+ 1
ans is r
28th Oct 2020, 8:10 AM
M. santhosh
M. santhosh - avatar
+ 1
r use
5th Nov 2020, 1:20 PM
dammika rajapaksha
dammika rajapaksha - avatar
+ 1
Is this answer correct? I fill ! in the blanks but it show false.
27th Dec 2020, 6:14 AM
YAP ZHI WEI Moe
YAP ZHI WEI Moe - avatar
0
Sounds difficult and is difficult, sorry
9th Jun 2017, 9:01 AM
Iwan
Iwan - avatar
0
use +
25th Sep 2019, 2:28 AM
mukund biradar
mukund biradar - avatar
0
Helpful
19th Feb 2020, 4:22 PM
Oriji Sandra
0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5th May 2020, 6:29 AM
mostafa Abdelfattah Elsaay
0
r"(42)+
quot;
8th Sep 2020, 8:45 PM
Nkosinathi Mafu
0
It's answer is r"..!
quot;
9th Sep 2020, 3:17 PM
Ridowan Ahmed
Ridowan Ahmed - avatar
0
answer r"..!
quot;
5th Nov 2020, 2:37 PM
dammika rajapaksha
dammika rajapaksha - avatar
0
Fill in the blanks to match strings that are not entirely composed od digits
30th Nov 2020, 4:06 PM
Sanyog Patil
0
str = r "I am \r\a\w!"
26th May 2021, 12:40 PM
Hayder Jawad Al-ATBEE
Hayder Jawad Al-ATBEE - avatar